Skip to content

Commit

Permalink
Fix incorrect release version
Browse files Browse the repository at this point in the history
  • Loading branch information
JohJonker committed Jan 8, 2025
1 parent a8da429 commit ae4ae83
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

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

## 1.0.2
## 1.0.4

- Fix module import.
- (No changes) Re-publish to fix incorrect release version.

## 1.0.3

- Allow a custom severity label to be specified.

## 1.0.1

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Sends a PagerDuty alert, e.g. on action failure. Optionally, resolves on success
## Prerequisites

1. Create a service integration in PagerDuty:
1. Go to PagerDuty > "Services" > Pick your service > "Integrations" > "Add a new integration";
2. Choose a name (e.g. "Your GitHub CI/CD") and "Use our API directly" with "Events API v2";
3. Copy the integration key.
1. Go to PagerDuty > "Services" > Pick your service > "Integrations" > "Add a new integration";
2. Choose a name (e.g. "Your GitHub CI/CD") and "Use our API directly" with "Events API v2";
3. Copy the integration key.
2. Set up a secret in your GitHub repo to store the integration key, e.g. "PAGERDUTY_INTEGRATION_KEY".

## Inputs
Expand Down 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].3
uses: Entle/[email protected].4
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() && !cancelled() }}
uses: Entle/[email protected].3
uses: Entle/[email protected].4
with:
pagerduty-integration-key: '${{ secrets.PAGERDUTY_INTEGRATION_KEY }}'
pagerduty-dedup-key: github_workflow_failed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "action-pagerduty-alert",
"version": "1.0.2",
"version": "1.0.4",
"description": "GitHub Action to send a PagerDuty alert",
"type": "module",
"exports": "./index.js",
Expand Down

0 comments on commit ae4ae83

Please sign in to comment.