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

HTTP Error 406 does not fail the action #9

Open
samie opened this issue Apr 20, 2022 · 0 comments
Open

HTTP Error 406 does not fail the action #9

samie opened this issue Apr 20, 2022 · 0 comments

Comments

@samie
Copy link

samie commented Apr 20, 2022

I have a POST action which by design returns HTTP 406, however the curl action does not seem to fail like advertised, but action workflow passes on. Are there any example of error handling of HTTP errors?

Looks like the action uses --silent --show-error --fail as fixed arguments, but still only url: (22) The requested URL returned error: 406 is printed to the console log, without any workflow error. Also tried checking the job status using if: ${{ job.status == 'failure' }}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant