Skip to content

celestiaorg/celestia-node v0.14.0 Release Deployment Tracking #126

celestiaorg/celestia-node v0.14.0 Release Deployment Tracking

celestiaorg/celestia-node v0.14.0 Release Deployment Tracking #126

name: GitHub Actions 2 PagerDuty
on:
workflow_dispatch:
issues:
types:
- opened
- labeled
jobs:
check-label:
runs-on: ubuntu-latest
outputs:
issue-labeled: ${{ steps.set-output.outputs.issue-labeled }}
steps:
- name: Check if the issue has the 'incident' label
id: set-output
run: echo "::set-output name=issue-labeled::${{ contains(github.event.issue.labels.*.name, 'incident') }}"
ga-2-pd:
name: GitHub Actions To PagerDuty
needs: check-label
if: needs.check-label.outputs.issue-labeled == 'true'
runs-on: ubuntu-latest
steps:
- name: Send PagerDuty alert on failure
uses: award28/[email protected]
with:
pagerduty-integration-key: '${{ secrets.PAGERDUTY_INTEGRATION_KEY }}'
pagerduty-dedup-key: github_workflow_failed