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

Ability to mark a workflow as failed on error #74

Open
desrosj opened this issue Feb 16, 2024 · 0 comments
Open

Ability to mark a workflow as failed on error #74

desrosj opened this issue Feb 16, 2024 · 0 comments
Assignees
Labels
[Type] Feature Request New feature or request

Comments

@desrosj
Copy link
Contributor

desrosj commented Feb 16, 2024

Problem

Currently, when the action fails to comment on a pull request, an error is returned but the workflow proceeds and is marked successful.

https://github.com/WordPress/wordpress-develop/actions/runs/7921215761/job/21626008525#step:2:10

Feature Request

In some situations, it could be important that the workflow fails when it's unable to comment.

Maybe something like how actions/upload-artifcat handles this through if-no-files-found, or codecov/codecov-action with fail_ci_if_error.

Workaround

No response

Repository

https://github.com/WordPress/wordpress-develop

@desrosj desrosj added the [Type] Feature Request New feature or request label Feb 16, 2024
@desrosj desrosj self-assigned this Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant