| 1 | name: workflow-lint |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: |
| 6 | - master |
| 7 | - main |
| 8 | paths: |
| 9 | - ".github/workflows/**" |
| 10 | - ".github/actions/**" |
| 11 | - ".github/actionlint.yaml" |
| 12 | pull_request: |
| 13 | paths: |
| 14 | - ".github/workflows/**" |
| 15 | - ".github/actions/**" |
| 16 | - ".github/actionlint.yaml" |
| 17 | workflow_dispatch: |
| 18 | |
| 19 | concurrency: |
| 20 | group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} |
| 21 | cancel-in-progress: true |
| 22 | |
| 23 | permissions: |
| 24 | contents: read |
| 25 | |
| 26 | jobs: |
| 27 | actionlint: |
| 28 | uses: gofiber/.github/.github/workflows/workflow-lint.yml@main |