Skip to content

added statuses write for my pr title check. #224

added statuses write for my pr title check.

added statuses write for my pr title check. #224

Workflow file for this run

name: Terraform Master Workflow

Check failure on line 1 in .github/workflows/terraform.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/terraform.yaml

Invalid workflow file

(Line: 16, Col: 3): Unexpected value 'permissions'
on:
push:
branches:
- main
pull_request_target:
types:
- opened
- edited
- synchronize
pull_request:
branches:
- main
permissions:
contents: read
pull-requests: write
actions: read
statuses: write
jobs:
prTitlecheck:
name: PR title check
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' }}
uses: ./.github/workflows/pr-title.yaml
releasePreview:
name: Release Preview
uses: ./.github/workflows/release-preview.yaml
permissions:
contents: write
pull-requests: write
preCommitCheck:
name: Terraform Checks
uses: ./.github/workflows/terraform-checks.yaml
generateDocs:
name: Generate Terraform Docs
needs: preCommitCheck
uses: ./.github/workflows/terraform-docs.yaml
release:
name: Release module
needs: generateDocs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: ./.github/workflows/release.yaml