Skip to content

mxie/pagerduty-oncall-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An action to fetch on-call entries from PagerDuty

Resources

Stars

Watchers

Forks

Packages

No packages published