Skip to content

add myself and kudzai to pagerduty #895

add myself and kudzai to pagerduty

add myself and kudzai to pagerduty #895

name: "Terraform: PagerDuty resources"
on:
push:
paths:
- 'terraform/pagerduty/**'
- '!**.md'
- '.github/workflows/terraform-pagerduty.yml'
- '.github/workflows/reusable_terraform_plan_apply.yml'
branches:
- main
pull_request:
paths:
- 'terraform/pagerduty/**'
- '!**.md'
- '.github/workflows/terraform-pagerduty.yml'
- '.github/workflows/reusable_terraform_plan_apply.yml'
branches:
- main
types: [opened, edited, reopened, synchronize]
workflow_dispatch:
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
defaults:
run:
shell: bash
jobs:
pagerduty-plan-and-apply:
uses: ./.github/workflows/reusable_terraform_plan_apply.yml
with:
working-directory: "terraform/pagerduty"
secrets:
modernisation_platform_environments: ${{ secrets.MODERNISATION_PLATFORM_ENVIRONMENTS }}
pagerduty_token: ${{ secrets.PAGERDUTY_TOKEN }}
pagerduty_userapi_token: ${{ secrets.PAGERDUTY_USERAPI_TOKEN}}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}