Skip to content

fix: correct checkout configuration in terraform-checks workflow #92

fix: correct checkout configuration in terraform-checks workflow

fix: correct checkout configuration in terraform-checks workflow #92

Workflow file for this run

name: Terraform Master Workflow
on:
push:
branches:
- main
- master
pull_request_target:
types:
- opened
- edited
- synchronize
pull_request:
branches:
- main
- master
permissions:
contents: write
pull-requests: write
actions: read
jobs:
prTitlecheck:
name: PR title check
if: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.base.ref == 'main' }}
uses: ./.github/workflows/pr-title.yaml
preCommitCheck:
name: Terraform Checks
uses: ./.github/workflows/terraform-checks.yaml
generateDocs:
name: Generate Terraform Docs
needs: preCommitCheck
uses: ./.github/workflows/terraform-docs.yaml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/terraform.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/terraform.yaml" -> "./.github/workflows/terraform-docs.yaml" (source branch with sha:44c18355a21d62153956266acb72232b3efaadb3) : workflow is not reusable as it is missing a `on.workflow_call` trigger
release:
name: Release module
needs: generateDocs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: ./.github/workflows/release.yaml