From 66fbc82e87256434af839b014f7f576753be4428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Dzivjak?= Date: Mon, 20 Jan 2025 23:17:21 +0100 Subject: [PATCH] feat(ci): lint github actions --- .github/workflows/lint-actions.yaml | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/lint-actions.yaml diff --git a/.github/workflows/lint-actions.yaml b/.github/workflows/lint-actions.yaml new file mode 100644 index 0000000..e977297 --- /dev/null +++ b/.github/workflows/lint-actions.yaml @@ -0,0 +1,30 @@ +name: Github Actions + +on: + pull_request: + paths: + - '.github/**' + +defaults: + run: + working-directory: ./.github + +permissions: + contents: read + +jobs: + actionlint: + name: Lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false + sparse-checkout: | + .github + + - uses: reviewdog/action-actionlint@abd537417cf4991e1ba8e21a67b1119f4f53b8e0 # v1.64.1 + with: + filter_mode: nofilter + fail_on_error: true + reporter: github-pr-check