Skip to content

chore: repository governance #28

chore: repository governance

chore: repository governance #28

Workflow file for this run

---
name: linting
on:
pull_request:
types: ['opened', 'reopened', 'synchronize']
merge_group:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: linting-${{ github.event.pull_request.head.repo.full_name }}/${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
docs:
if: github.event.repository.name != 'terraform-azurerm-avm-template'
name: docs
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: check docs
uses: Azure/terraform-azurerm-avm-template/.github/actions/docs-check@main
terraform:
if: github.event.repository.name != 'terraform-azurerm-avm-template'
name: terraform
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: lint terraform
uses: Azure/terraform-azurerm-avm-template/.github/actions/linting@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
avmfix:
if: github.event.repository.name != 'terraform-azurerm-avm-template' && false
name: avmfix
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: avmfix
uses: Azure/terraform-azurerm-avm-template/.github/actions/avmfix@main