Skip to content

New Feature test for plan summary output #883

New Feature test for plan summary output

New Feature test for plan summary output #883

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:

Check failure on line 32 in .github/workflows/terraform-pagerduty.yml

View workflow run for this annotation

GitHub Actions / Terraform: PagerDuty resources

Invalid workflow file

The workflow is not valid. .github/workflows/terraform-pagerduty.yml (Line: 32, Col: 3): Error calling workflow 'ministryofjustice/modernisation-platform/.github/workflows/reusable_terraform_plan_apply.yml@e9c9854abf0062cb592ba6a532a5610b85c29e85'. The workflow is requesting 'issues: write, pull-requests: write', but is only allowed 'issues: none, pull-requests: none'.
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 }}