Skip to content

Notify on Workflow Failure #39511

Notify on Workflow Failure

Notify on Workflow Failure #39511

name: Notify on Workflow Failure
on:
workflow_run:
workflows: ["Process new code merged to main", "Remote Build iOS", "Remote Build Android"]
branches: [main]
types:
- completed
permissions:
issues: write
jobs:
notifyFailure:
runs-on: blacksmith-2vcpu-ubuntu-2404
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- name: Checkout
uses: useblacksmith/checkout@c9796daa2a4bdebdab5bd16be2c09a70cd4e1121 # v1
- name: Process Failed Jobs
uses: ./.github/actions/javascript/failureNotifier
with:
GITHUB_TOKEN: ${{ github.token }}