Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
19 lines
580 B
YAML
19 lines
580 B
YAML
name: Lint GitHub Actions workflows
|
|
on:
|
|
push:
|
|
paths:
|
|
- ".github/workflows/*.yml"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
actionlint:
|
|
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
- name: Check workflow files
|
|
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint@sha256:5acca218639222e4afbc82fc6e9ef56cbe646ade3b07f3f5ec364b638258a244
|
|
with:
|
|
args: -color -ignore SC2129 -ignore "'property \"download-path\" is not defined in object type'"
|