From 35261edc4f1f80b28e1640bb2eeb546761b53a3a Mon Sep 17 00:00:00 2001 From: Matt Silber Date: Thu, 21 Dec 2023 16:22:28 -0500 Subject: [PATCH] Adds github-actions-lint workflow on pull requests --- .github/workflows/github-actions-lint.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/github-actions-lint.yml diff --git a/.github/workflows/github-actions-lint.yml b/.github/workflows/github-actions-lint.yml new file mode 100644 index 0000000..d772c7a --- /dev/null +++ b/.github/workflows/github-actions-lint.yml @@ -0,0 +1,20 @@ +name: GitHub Actions Lint + +on: + pull_request: + paths: + - '.github/workflows/**' + +jobs: + github_actions_lint: + name: Run actionlint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.1.1 + + - uses: reviewdog/action-actionlint@v1.40.0 + with: + fail_on_error: true + filter_mode: diff_context + github_token: ${{ secrets.GITHUB_TOKEN }} + reporter: github-pr-review