From a241ca452c103ef9bf5f7c437820804ebfabbad0 Mon Sep 17 00:00:00 2001 From: Timothy Messier Date: Thu, 2 Mar 2023 13:47:47 +0000 Subject: [PATCH] ci: Add actionlint workflow --- .github/workflows/actionlint.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/actionlint.yml diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml new file mode 100644 index 0000000000..25869ba0aa --- /dev/null +++ b/.github/workflows/actionlint.yml @@ -0,0 +1,18 @@ +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@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + - name: Check workflow files + uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint@sha256:02ccb6d91e4cb4a7b21eb99d5274d257e81ae667688d730e89d7ea0d6d35db91 + with: + args: -color -ignore SC2129 -ignore "'property \"download-path\" is not defined in object type'"