Skip to content

Canceled runs are notified as "passed with warnings" #99

@wookayin

Description

@wookayin

I'm using notify-slack-action@v2. When I manually interrupt or cancel the workflow, a wrong notification is made saying the job has been passed with warnings. It should instead say something like the job was cancelled or failed.

:large_orange_diamond: Run Tests passed with warnings in
      - name: Report status to Slack
        if: always()
        uses: ravsamhq/notify-slack-action@v2
        with:
          status: ${{ job.status }}
          notify_when: "failure,cancelled"
        env:
          SLACK_WEBHOOK_URL: ${{ secrets.ACTION_NOTIFICATION_SLACK }}

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions