From 389b107e3421fece525fd403e8494d93dd78c2df Mon Sep 17 00:00:00 2001 From: bashonly Date: Sun, 2 Jun 2024 15:31:05 -0500 Subject: [PATCH] [ci] Add `actionlint` workflow Authored by: bashonly --- .github/workflows/action-lint.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/action-lint.yml diff --git a/.github/workflows/action-lint.yml b/.github/workflows/action-lint.yml new file mode 100644 index 000000000000..d18903bacac9 --- /dev/null +++ b/.github/workflows/action-lint.yml @@ -0,0 +1,24 @@ +name: Action Lint +on: + push: + paths: + - .github/workflows/*.yml + pull_request: + paths: + - .github/workflows/*.yml +permissions: + contents: read + +jobs: + lint-workflows: + name: Lint Workflows + runs-on: ubuntu-latest + steps: + - name: actionlint + uses: raven-actions/actionlint@v1 + # env: + # SHELLCHECK_OPTS: '-e SC1090,SC2034,SC2078' + with: + cache: false + files: '.github/workflows/*.yml' + # flags: '-ignore SC1090 -ignore SC2034 -ignore SC2078'