[Question] Why pr-check doesn't have an option to throw an error?
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 😊
I haven't had the time to get the pr-check working in actions. if you want to submit a pr i'll definitely help get it merged