diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml new file mode 100644 index 000000000..890b6b0df --- /dev/null +++ b/.github/workflows/actionlint.yml @@ -0,0 +1,25 @@ +name: GitHub action linting + +on: + pull_request: + paths: + - '.github/workflows/**' + +permissions: + contents: read + pull-requests: write + +jobs: + actionlint: + name: actionlint + runs-on: ubuntu-24.04 + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Run actionlint + uses: reviewdog/action-actionlint@v1.67.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + reporter: github-pr-review + level: error + fail_on_error: true