diff --git a/.github/workflows/action_lint.yml b/.github/workflows/action_lint.yml new file mode 100644 index 0000000..179660f --- /dev/null +++ b/.github/workflows/action_lint.yml @@ -0,0 +1,21 @@ +name: Lint for workflows +on: + push: + paths: + - '.github/actions/**' + - '.github/workflows/**' + pull_request: + paths: + - '.github/actions/**' + - '.github/workflows/**' + +jobs: + actionlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 + - uses: reviewdog/action-actionlint@437bbe918b0d29544cbf9e8b1d63fe6f4e7a881d # v1.69.0 + with: + reporter: github-check + fail_level: warning + filter_mode: nofilter