Skip to content

Commit 0761c7b

Browse files
authored
chore: bump create-workflow-token action to v3 (#1781)
1 parent d1231be commit 0761c7b

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
with:
2525
client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }}
2626
private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
27+
permission-contents: write
28+
permission-pull-requests: write
2729

2830
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
2931
with:

.github/workflows/shared-zizmor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ jobs:
2323
persist-credentials: false
2424

2525
- id: token
26-
uses: immich-app/devtools/actions/create-workflow-token@9db058b2e6eec20e07760b0e17a0505c78ec3191 # create-workflow-token-action-v2.0.1
26+
uses: immich-app/devtools/actions/create-workflow-token@1af396ae134e4bc3b63d947e672bc68bf4ff9dc5 # create-workflow-token-action-v3.0.0
2727
with:
2828
client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }}
2929
private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
30+
permission-contents: read
3031

3132
- name: Run zizmor 🌈
3233
uses: zizmorcore/zizmor-action@6599ee8b7a49aef6a770f63d261d214911a7ce02 # v0.6.0

.github/workflows/terragrunt.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ jobs:
2828
should_run: ${{ steps.check.outputs.should_run }}
2929
steps:
3030
- id: token
31-
uses: immich-app/devtools/actions/create-workflow-token@9db058b2e6eec20e07760b0e17a0505c78ec3191 # create-workflow-token-action-v2.0.1
31+
uses: immich-app/devtools/actions/create-workflow-token@1af396ae134e4bc3b63d947e672bc68bf4ff9dc5 # create-workflow-token-action-v3.0.0
3232
with:
3333
client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }}
3434
private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
35+
permission-contents: read
3536

3637
- name: Check what should run
3738
id: check
@@ -63,10 +64,11 @@ jobs:
6364
version: 2.30.3
6465

6566
- id: token
66-
uses: immich-app/devtools/actions/create-workflow-token@9db058b2e6eec20e07760b0e17a0505c78ec3191 # create-workflow-token-action-v2.0.1
67+
uses: immich-app/devtools/actions/create-workflow-token@1af396ae134e4bc3b63d947e672bc68bf4ff9dc5 # create-workflow-token-action-v3.0.0
6768
with:
6869
client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }}
6970
private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
71+
permission-contents: read
7072

7173
- name: Setup Mise
7274
uses: immich-app/devtools/actions/use-mise@3bca63ca3c15020293b36b51737a3ee2c773340b # use-mise-action-v3.1.0
@@ -101,10 +103,11 @@ jobs:
101103
version: 2.30.3
102104

103105
- id: token
104-
uses: immich-app/devtools/actions/create-workflow-token@9db058b2e6eec20e07760b0e17a0505c78ec3191 # create-workflow-token-action-v2.0.1
106+
uses: immich-app/devtools/actions/create-workflow-token@1af396ae134e4bc3b63d947e672bc68bf4ff9dc5 # create-workflow-token-action-v3.0.0
105107
with:
106108
client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }}
107109
private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
110+
permission-contents: read
108111

109112
- name: Setup Mise
110113
uses: immich-app/devtools/actions/use-mise@3bca63ca3c15020293b36b51737a3ee2c773340b # use-mise-action-v3.1.0
@@ -231,10 +234,11 @@ jobs:
231234
version: 2.30.3
232235

233236
- id: token
234-
uses: immich-app/devtools/actions/create-workflow-token@9db058b2e6eec20e07760b0e17a0505c78ec3191 # create-workflow-token-action-v2.0.1
237+
uses: immich-app/devtools/actions/create-workflow-token@1af396ae134e4bc3b63d947e672bc68bf4ff9dc5 # create-workflow-token-action-v3.0.0
235238
with:
236239
client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }}
237240
private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
241+
permission-contents: read
238242

239243
- name: Setup Mise
240244
uses: immich-app/devtools/actions/use-mise@3bca63ca3c15020293b36b51737a3ee2c773340b # use-mise-action-v3.1.0

0 commit comments

Comments
 (0)