-
Notifications
You must be signed in to change notification settings - Fork 9
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
Github Action: Doesn't fail on invalid lockfile #880
Comments
This was a misunderstanding from my side. It tries to push the updated lockfile (only if it is changed), and if it failed to push it causes the action to fail. The parameter "commit-lockfile" must therefore be set to true, for the process to fail in case of lockfile error |
I think this is unexpected behaviour. If "commit-lockfile" is false, my expectation is that it verifies the lockfile and succeed if it is correct and fail if it is incorrect, without trying to push the new lockfile to the branch. Would love a second perspective! |
where is the reference documentation of flag "commit-lockfile"? If it does not exist, we have to write it first and settle on the reference behavior. |
From the test #879 the github action don't seem to fail when "commit-lockfile" is set to false and the lockfile is invalid
The text was updated successfully, but these errors were encountered: