Skip to content

Actions - Disable notification for cancelled jobs #35872

@Javex

Description

@Javex

Feature Description

#34982 introduced email notifications for Gitea Actions. When I configure it to "Only notify for failed workflow runs" I get emails for "cancelled" runs as well. This happens if I merge a few PRs in quick succession and the actions get cancelled to run the latest deployment.

Currently, this sends an email as failure, but it didn't fail, it was stopped by Gitea to run a more recent commit. It would be great if there was a separate option in the drop down that reads "Only notify for failed & cancelled workflow runs" (which is the current behaviour) and the "Only notify for failed workflow runs" doesn't notify for cancelled runs.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposal/acceptedWe have reviewed the proposal and agree that it should be implemented like that/at all.topic/gitea-actionsrelated to the actions of Giteatype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions