{"id":42577480,"url":"https://github.com/acyphus/pagerduty-send-event","last_synced_at":"2026-01-28T22:00:30.069Z","repository":{"id":247193028,"uuid":"825230659","full_name":"ACyphus/pagerduty-send-event","owner":"ACyphus","description":"A GitHub Action for sending events to PagerDuty","archived":false,"fork":false,"pushed_at":"2025-07-22T14:48:49.000Z","size":2788,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-22T16:20:46.375Z","etag":null,"topics":["actions","alerting","automation","pager","pagerduty","trigger"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ACyphus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-07T07:30:58.000Z","updated_at":"2025-07-22T14:48:53.000Z","dependencies_parsed_at":"2024-07-07T09:22:15.785Z","dependency_job_id":"c1a913d3-4839-4cb7-8d5b-31e9f286f003","html_url":"https://github.com/ACyphus/pagerduty-send-event","commit_stats":null,"previous_names":["acyphus/pagerduty-send-event"],"tags_count":4,"template":false,"template_full_name":"actions/javascript-action","purl":"pkg:github/ACyphus/pagerduty-send-event","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ACyphus%2Fpagerduty-send-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ACyphus%2Fpagerduty-send-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ACyphus%2Fpagerduty-send-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ACyphus%2Fpagerduty-send-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ACyphus","download_url":"https://codeload.github.com/ACyphus/pagerduty-send-event/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ACyphus%2Fpagerduty-send-event/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28853194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","alerting","automation","pager","pagerduty","trigger"],"created_at":"2026-01-28T22:00:21.797Z","updated_at":"2026-01-28T22:00:30.028Z","avatar_url":"https://github.com/ACyphus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PagerDuty Send Event GitHub Action\n\n![CI](https://github.com/actions/javascript-action/actions/workflows/ci.yml/badge.svg)\n\nTrigger, acknowledge, and resolve events and incidents in PagerDuty with this GitHub Action.\n\nDesigned with useful defaults, this Action provides an easy way to start sending events to PagerDuty while allowing plenty of customization for your specific workflow needs.\n\n## Getting started\n\nTo send events to PagerDuty, you'll need to set up a service integration and copy the integration key into an Actions secret in your repository:\n\n1. Create a service integration in PagerDuty:\n  a. Go to PagerDuty \u003e \"Services\" \u003e Pick your service \u003e \"Integrations\" \u003e \"Add a new integration\"\n  b. Choose \"Events API v2\" and click \"Add\"\n  c. Click the cog icon and copy the integration key\n2. Set up an [Actions secret in your GitHub repository named `PAGERDUTY_INTEGRATION_KEY`](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository)\n\n### Simple workflow\n\nIn your `steps`:\n\n```yml\n- name: Send event to PagerDuty\n  uses: ACyphus/pagerduty-send-event@v1\n  with:\n    integration-key: ${{ secrets.PAGERDUTY_INTEGRATION_KEY }}\n    dedup-key: ${{ github.run_id }}\n```\n\nThis will trigger a critical alert in your service.\n\n## Usage\n\nThis Action can be used in many ways, such as triggering an alert [if a CI job fails](https://docs.github.com/en/actions/learn-github-actions/expressions#failure) or when a new issue is opened with a specific label. The Action can also be used to acknowledge or resolve existing alerts.\n\n### Inputs\n\n#### `integration-key`\n\nThe PagerDuty Integration Key. Used to route your event to the correct service.\n\nRequired for all events\n\nDefault: None\n\n#### `dedup-key`\n\nIdentifies the alert to `trigger`, `acknowledge`, or `resolve`.\n\nRequired, unless the `event_type` is `trigger`\n\nDefault: None\n\n#### `event-action`\n\nThe type of event. Can be `trigger`, `acknowledge`, or `resolve`.\n\nDefault: `trigger`\n\n#### `summary`\n\nA brief text summary of the event, used to generate the summaries/titles of any\nassociated alerts.\n\nDefault: `Alert from ${{github.repository}} by ${{github.actor}}`\n\n#### `source`\n\nThe unique location of the affected system.\n\nDefault: `GitHub Actions in ${{github.repository}}`\n\n#### `severity`\n\nThe perceived severity of the status the event is describing with respect to the\naffected system. Can be `info`, `warning`, `error`, or `critical`.\n\nDefault: `critical`\n\n#### `client`\n\nThe name of the monitoring client that is triggering this event. This field is\nonly used for `trigger` events.\n\nDefault: `${{github.repository}}`\n\n#### `client-url`\n\nThe URL of the monitoring client that is triggering this event. This field is\nonly used for `trigger` events.\n\nDefault:\n`https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}`\n\n### Example alert on CI failure\n\nThis example will send an event to PagerDuty if any CI tests fail:\n\n`.github/workflows/ci.yml`\n\n```yml\nname: Continuous Integration\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\njobs:\n  test-javascript:\n    name: JavaScript Tests\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        id: checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Node.js\n        id: setup-node\n        uses: actions/setup-node@v4\n\n      - name: Install Dependencies\n        id: npm-ci\n        run: npm ci\n\n      - name: Test\n        id: npm-ci-test\n        run: npm run ci-test\n\n      - name: Alert PagerDuty on failure\n        if: ${{ failure() }}\n        uses: ACyphus/pagerduty-send-event@v1\n        with:\n          integration-key: ${{ secrets.PAGERDUTY_TESTING_TOKEN }}\n          dedup-key: ${{ github.run_id }}\n          event-action: trigger\n          summary: 'CI test failure in ${{ github.repository }}'\n          source: 'GitHub Actions in ${{ github.repository }}'\n          severity: error\n```\n\n### Example alert on new issue with label\n\nThis example will send an event to PagerDuty when an issue with a specific label is opened:\n\n`.github/workflows/vuln-alert.yml`\n\n```yml\nname: vuln alert\n\non:\n  issues:\n    types: opened\n\nenv:\n  ISSUE_URL: ${{ github.event.issue.html_url }}\n  ISSUE_ID: ${{ github.event.issue.number }}\n  TITLE: ${{ github.event.issue.title }}\n\njobs:\n  alert-on-vulnerability-report:\n    if: contains(github.event.issue.labels.*.name,'vulnerability')\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Alert PagerDuty on new vulnerability report\n        uses: ACyphus/pagerduty-send-event@v1\n        with:\n          integration-key: ${{ secrets.PAGERDUTY_TESTING_TOKEN }}\n          dedup-key: ${{ env.ISSUE_ID }}\n          event-action: trigger\n          summary: 'Vuln report: ${{ env.TITLE }}'\n          source: 'GitHub Actions in ${{ github.repository }}'\n          severity: critical\n          client: '${{ github.respository}}#${{ env.ISSUE_ID }}'\n          client-url: ${{ env.ISSUE_URL }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facyphus%2Fpagerduty-send-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facyphus%2Fpagerduty-send-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facyphus%2Fpagerduty-send-event/lists"}