-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail our CI when there are Git changes #511
Conversation
To view this pull requests documentation preview, visit the following URL: docs.page/sharezoneapp/sharezone-app~511 Documentation is deployed and generated using docs.page. |
Visit the preview URL for this PR (updated for commit c08d734): https://sharezone-test--pr511-fail-on-git-diff-yrxeak22.web.app (expires Wed, 22 Mar 2023 21:39:52 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 4cb3ae61e1e018abfd9841fd3239f5b49ccc034b |
But if we have the pubspec version |
Hm, I'm not 100% sure. I need to check this. An alternative idea would be to just post a comment as a warning. This would not fail our CI but prevents us from unintentionally forgetting to commit these files. |
Idea:
|
Yes, this would be the case. |
What do you mean with this? |
Hm, just by looking at
Same for Flutter (link):
Note a |
So from the behavior described in the docs this change should be fine, I think? I'm not 100% sure |
Lets do this first and evaluate. We can change this to block later anyways. |
Doesn't seem to be true, see #719 |
What I tried: Go into
Oh, I mean "comment" and not "command" 😂
We have the solution of this PR (just |
Did you also update What I tried now was:
So in this case it did work... |
Ah, no. This was my issue 👍 |
To catch file changes like #506 or #510 on pull request level, we need to check in the our GitHub workflows if files have changed. If yes, we fail the workflow.
Closes #318
(Blocked by #510)