You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The question I have is about the way pr-check works in GitHub Actions. When I run it in actions, the script runs and exits with 0, so in GitHub Actions I see that everything is okay, but in my PR I see an error. I didn't find any option, to exit with code 1 if there are some issues.
The reason why I need it is that my workflow contains two steps (Check -> Build) and when Check is failed (lint, or no label in PR) I want to throw an error and ignore build scripts.
Actual result:
On the Actions page it says that the job is completed with no errors
On the PR page it says "No semver label!"
Expected result:
On the Actions page it shows an error and the next job (build) is not starting
On the PR page it says "No semver label"
Let me know if there is another approach I could use for that or if you need some repo to see the problem 😊
The text was updated successfully, but these errors were encountered:
The question I have is about the way
pr-check
works in GitHub Actions. When I run it in actions, the script runs and exits with0
, so in GitHub Actions I see that everything is okay, but in my PR I see an error. I didn't find any option, to exit with code1
if there are some issues.The reason why I need it is that my workflow contains two steps (Check -> Build) and when Check is failed (lint, or no label in PR) I want to throw an error and ignore build scripts.
Actual result:
Expected result:
Let me know if there is another approach I could use for that or if you need some repo to see the problem 😊
The text was updated successfully, but these errors were encountered: