Skip to content
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

Add ignore_warnings_on_exit and ignore_errors_on_exit options #3

Merged
merged 3 commits into from
Nov 25, 2024

Conversation

LennyN95
Copy link
Contributor

Add parameters ignore_warnings_on_exit and ignore_errors_on_exit to avoid a non-zero error code in the presence of warnings or errors respectively (see #2).

LennyN95 and others added 3 commits October 30, 2024 08:57
…d a non-zero error code in the presence of warnings or errors respectively
2) allow true/false as well as 1/0
3) pass the env variable from the input
@g105b
Copy link
Member

g105b commented Nov 18, 2024

Hey @LennyN95 , thanks for your contribution. I've just taken a look over the code and added some tweaks. Can I get your opinion on my changes before I merge?

I've allowed the values 'true' and 'false' instead of just 1 and 0, because I think it's more intuitive in the yaml config.

@LennyN95
Copy link
Contributor Author

Hey @g105b, thx for looking into this!

I kept it close to the CS cli but I agree with you it's more intuitive and I personally like the true/false better.
Thanks for your input and a huge thank you for creating and maintaining these automations 🚀

@g105b
Copy link
Member

g105b commented Nov 18, 2024

Just to clarify - you can still use 0 or 1, but I've allowed false/true to be optionally used.

Thank you, I'll merge this today.

@g105b g105b merged commit 0a99a28 into php-actions:master Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants