diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml index eb625803a3..5202e68585 100644 --- a/.github/actionlint.yaml +++ b/.github/actionlint.yaml @@ -28,3 +28,9 @@ self-hosted-runner: - s390x-large - tdx - ubuntu-24.04-arm + +paths: + .github/workflows/**/*.{yml,yaml}: + ignore: + # We use if: false to "temporarily" skip jobs with issues + - 'constant expression "false" in condition' diff --git a/.github/workflows/actionlint.yaml b/.github/workflows/actionlint.yaml index 66fb0a2026..9f06235b02 100644 --- a/.github/workflows/actionlint.yaml +++ b/.github/workflows/actionlint.yaml @@ -13,18 +13,13 @@ concurrency: jobs: run-actionlint: name: run-actionlint - env: - GH_TOKEN: ${{ github.token }} runs-on: ubuntu-24.04 steps: - name: Checkout the code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 persist-credentials: false - - name: Install actionlint gh extension - run: gh extension install https://github.com/cschleiden/gh-actionlint - - name: Run actionlint - run: gh actionlint + uses: raven-actions/actionlint@e01d1ea33dd6a5ed517d95b4c0c357560ac6f518 # v2.1.1