Skip to content

Commit

Permalink
Fix missing ESM config in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
JohJonker committed Nov 20, 2024
1 parent 7281282 commit 6662d40
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## 1.0.1

- Fix missing ESM config in `package.json`.

## 1.0.0

- **⭐️ NEW:** Add option to resolve alerts on success.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].0
uses: Entle/[email protected].1
with:
pagerduty-integration-key: '${{ secrets.PAGERDUTY_INTEGRATION_KEY }}'
pagerduty-dedup-key: github_workflow_failed
Expand All @@ -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].0
uses: Entle/[email protected].1
with:
pagerduty-integration-key: '${{ secrets.PAGERDUTY_INTEGRATION_KEY }}'
pagerduty-dedup-key: github_workflow_failed
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "action-pagerduty-alert",
"version": "1.0.0",
"version": "1.0.1",
"description": "GitHub Action to send a critical PagerDuty alert",
"main": "index.js",
"type": "module",
"exports": "./index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down

0 comments on commit 6662d40

Please sign in to comment.