DO NOT MERGE #936
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Terraform: PagerDuty resources" | ||
on: | ||
push: | ||
paths: | ||
- 'terraform/pagerduty/**' | ||
- '!**.md' | ||
- '.github/workflows/terraform-pagerduty.yml' | ||
branches: | ||
- main | ||
pull_request: | ||
paths: | ||
- 'terraform/pagerduty/**' | ||
- '!**.md' | ||
- '.github/workflows/terraform-pagerduty.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 | ||
pull-requests: write | ||
defaults: | ||
run: | ||
shell: bash | ||
jobs: | ||
pagerduty-plan-and-apply: | ||
uses: ./.github/workflows/reusable_terraform_plan_apply.yml | ||
Check failure on line 31 in .github/workflows/terraform-pagerduty.yml GitHub Actions / Terraform: PagerDuty resourcesInvalid workflow file
|
||
with: | ||
working-directory: "terraform/pagerduty" | ||
workflow_id: "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 }} |