pagerduty/verify-signature 1.0.0

Verify webhook signatures from PagerDuty

Parameters

Parameter
Required
Default
Description
body
*
The body of the incoming webook
headers
*
The headers of the incoming webhook
shared-secret
*
The shared secret provided to you by PagerDuty upon creating the webhook

README.md

Verify PagerDuty webhook signatures.

tasks:
  - key: verify-signature
    call: pagerduty/verify-signature 1.0.0
    with:
      body: ${{ init.body }}
      headers: ${{ init.headers }}
      secret: ${{ vaults.your-vault.secrets.pagerduty-webhook-secret }}

  - key: automate-the-thing
    after: verify-signature
    run: ....
    env:
      BODY: ${{ init.body }}