diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml index 8c64f23f9..207123473 100644 --- a/.github/actionlint.yaml +++ b/.github/actionlint.yaml @@ -11,3 +11,14 @@ self-hosted-runner: labels: - ubuntu-26.04-arm + +# WORKAROUND: actionlint 1.7.12 doesn't recognize the $/ reusable workflow +# syntax. Ignore only its format diagnostic for the migrated calls until +# rhysd/actionlint#732 ships in the pinned version. +paths: + .github/workflows/ci.yml: + ignore: + - '^reusable workflow call "\$/\.github/workflows/(build|lint|test)\.yml" at "uses" is not following the format ' + .github/workflows/release.yml: + ignore: + - '^reusable workflow call "\$/\.github/workflows/(lint|publish|test|website)\.yml" at "uses" is not following the format ' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66c5c5de4..0b57da637 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,13 +13,13 @@ permissions: {} jobs: lint: name: Lint App - uses: ./.github/workflows/lint.yml + uses: $/.github/workflows/lint.yml permissions: contents: read tests: name: Tests - uses: ./.github/workflows/test.yml + uses: $/.github/workflows/test.yml needs: lint permissions: contents: read @@ -28,7 +28,7 @@ jobs: build: name: Build - uses: ./.github/workflows/build.yml + uses: $/.github/workflows/build.yml needs: tests permissions: contents: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8278e1e5..af63c7f60 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -133,7 +133,7 @@ jobs: lint: name: Lint App - uses: ./.github/workflows/lint.yml + uses: $/.github/workflows/lint.yml needs: release-please if: ${{ needs.release-please.outputs.release_created == 'true' }} permissions: @@ -141,7 +141,7 @@ jobs: tests: name: Tests - uses: ./.github/workflows/test.yml + uses: $/.github/workflows/test.yml needs: lint permissions: contents: read @@ -150,7 +150,7 @@ jobs: publish: name: Publish - uses: ./.github/workflows/publish.yml + uses: $/.github/workflows/publish.yml needs: [release-please, tests] permissions: contents: write @@ -172,7 +172,7 @@ jobs: website: name: Website - uses: ./.github/workflows/website.yml + uses: $/.github/workflows/website.yml needs: publish permissions: {} secrets: