Skip to content

Ability to mark a workflow as failed on error #74

@desrosj

Description

@desrosj

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions