-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ Adding this to your `steps` will send a PagerDuty alert if the job fails. It is | |
```yaml | ||
- name: Send PagerDuty alert on failure | ||
if: ${{ failure() }} | ||
uses: Entle/[email protected].1 | ||
uses: Entle/[email protected].2 | ||
with: | ||
pagerduty-integration-key: '${{ secrets.PAGERDUTY_INTEGRATION_KEY }}' | ||
pagerduty-dedup-key: github_workflow_failed | ||
|
@@ -52,7 +52,7 @@ Optionally, add the below step after the one above to resolve the alert if a sub | |
```yaml | ||
- name: Resolve PagerDuty alert on success | ||
if: ${{ !failure() }} | ||
uses: Entle/[email protected].1 | ||
uses: Entle/[email protected].2 | ||
with: | ||
pagerduty-integration-key: '${{ secrets.PAGERDUTY_INTEGRATION_KEY }}' | ||
pagerduty-dedup-key: github_workflow_failed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters