Skip to content

PagerDuty On-call

Actions
Find out who s on call next for a given schedule
v1.2
Latest
By mxie
Star (2)

PagerDuty On-call Action

A GitHub Action to find the next person on call through PagerDuty.

Usage

name: Find next person on call
on:
  schedule:
    - cron: 0 8 * * 1
jobs:
  run-action:
    runs-on: ubuntu-latest
    steps:
    - name: Ask PagerDuty
      id: pagerduty
      uses: mxie/pagerduty-oncall-action@main    # replace `main` with release tag
      with:
        token: ${{ secrets.PAGERDUTY_TOKEN }}
        schedule-id: ABCDEFG
    - run: echo ${{ steps.pagerduty.outputs.person }} is on call

See action.yml for accepted inputs.

PagerDuty On-call is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Find out who s on call next for a given schedule
v1.2
Latest
By mxie

PagerDuty On-call is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.