Use new self-repository syntax for local GitHub actions (#706)

This commit is contained in:
Mateusz Burzyński
2026-08-03 15:40:56 +00:00
committed by GitHub
parent c1722b9aba
commit cae6353519
4 changed files with 16 additions and 46 deletions
+4 -19
View File
@@ -32,7 +32,7 @@ jobs:
persist-credentials: false
- name: Run zizmor
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2
with:
persona: pedantic
annotations: true
@@ -43,12 +43,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: ./.github/actions/ci-setup
- uses: $/.github/actions/ci-setup
- name: Test
run: pnpm test
@@ -58,12 +53,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: ./.github/actions/ci-setup
- uses: $/.github/actions/ci-setup
- name: Typecheck
run: pnpm typecheck
@@ -73,12 +63,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: ./.github/actions/ci-setup
- uses: $/.github/actions/ci-setup
- name: Format
run: pnpm format
+5 -20
View File
@@ -24,12 +24,7 @@ jobs:
permissions:
contents: read # to check out repo (actions/checkout)
steps:
- name: Check out repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: ./.github/actions/ci-setup
- uses: $/.github/actions/ci-setup
with:
skip-cache: true # avoid cache poisoning attacks
@@ -50,19 +45,14 @@ jobs:
permissions:
contents: read # to check out repo (actions/checkout)
steps:
- name: Check out repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: ./.github/actions/ci-setup
- uses: $/.github/actions/ci-setup
with:
skip-cache: true # avoid cache poisoning attacks
- name: Build
run: pnpm build
- uses: ./.github/actions/setup-bot-auth
- uses: $/.github/actions/setup-bot-auth
id: bot-auth
with:
client-id: ${{ vars.APP_CLIENT_ID }}
@@ -87,19 +77,14 @@ jobs:
permissions:
contents: write # to create release and have it authored by github-actions (changesets/action)
steps:
- name: Check out repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: ./.github/actions/ci-setup
- uses: $/.github/actions/ci-setup
with:
skip-cache: true # avoid cache poisoning attacks
- name: Build
run: pnpm build
- uses: ./.github/actions/setup-bot-auth
- uses: $/.github/actions/setup-bot-auth
id: bot-auth
with:
client-id: ${{ vars.APP_CLIENT_ID }}
+2 -7
View File
@@ -122,12 +122,7 @@ jobs:
pull-requests: write # to comment on the pull request with the release result (changesets/action)
steps:
- name: Check out repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: ./.github/actions/ci-setup
- uses: $/.github/actions/ci-setup
with:
skip-cache: true # avoid cache poisoning attacks
@@ -166,7 +161,7 @@ jobs:
- name: Build
run: pnpm build
- uses: ./.github/actions/setup-bot-auth
- uses: $/.github/actions/setup-bot-auth
id: bot-auth
with:
client-id: ${{ vars.APP_CLIENT_ID }}