Skip to content

Commit 3f880e5

Browse files
authored
ci: keep autofix token read-only (#920)
* ci: keep autofix token read-only * ci: apply zizmor pin review feedback
1 parent e4c17f0 commit 3f880e5

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/autofix.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,20 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
permissions:
13-
contents: write
13+
contents: read
1414

1515
jobs:
1616
autofix:
1717
name: autofix
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
2323
fetch-depth: 0
24-
# autofix-ci commits formatting fixes back to this branch.
25-
persist-credentials: true
24+
persist-credentials: false
2625
- name: Setup Tools
27-
uses: tanstack/config/.github/setup@8f433551298bae362c0e7a356f38c7d240c05d47 # main
26+
uses: tanstack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3 # main
2827
- name: Fix formatting
2928
run: pnpm format
3029
- name: Apply fixes

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
with:
1717
fetch-depth: 0
1818
persist-credentials: false
1919
- name: Setup Tools
20-
uses: tanstack/config/.github/setup@8f433551298bae362c0e7a356f38c7d240c05d47 # main
20+
uses: tanstack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3 # main
2121
- name: Run Build
2222
run: pnpm build
2323
- name: Run Tests

.github/workflows/update-tanstack-deps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ jobs:
1414
contents: write
1515
steps:
1616
- name: Git Checkout
17-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818
with:
1919
# This scheduled job commits dependency updates back to the branch.
2020
persist-credentials: true
2121

2222
- name: Setup pnpm
23-
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
23+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
2424

2525
- name: Setup Node
26-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
26+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2727
with:
2828
node-version-file: .nvmrc
2929
cache: pnpm

0 commit comments

Comments
 (0)