Skip to content

Commit 95a166c

Browse files
authored
chore: use app token for mise in workflows (#1575)
1 parent 01a4d35 commit 95a166c

1 file changed

Lines changed: 27 additions & 3 deletions

File tree

.github/workflows/terragrunt.yml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,16 @@ jobs:
4343
with:
4444
version: 2.30.3
4545

46+
- id: token
47+
uses: immich-app/devtools/actions/create-workflow-token@caa599d954228439ea3e8ce1c3328f41ab120ee6 # create-workflow-token-action-v2.0.0
48+
with:
49+
client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }}
50+
private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
51+
4652
- name: Setup Mise
47-
uses: immich-app/devtools/actions/use-mise@035e80a7d4355d5f087ffb95db9e4a0944c04e56 # use-mise-action-v1.1.3
53+
uses: immich-app/devtools/actions/use-mise@01a4d354b70f99a6baf4a1b72827f6d4922e4978 # use-mise-action-v2.0.0
54+
with:
55+
github_token: ${{ steps.token.outputs.token }}
4856

4957
- name: Check Formatting
5058
run: terragrunt hcl format --check --diff
@@ -72,8 +80,16 @@ jobs:
7280
with:
7381
version: 2.30.3
7482

83+
- id: token
84+
uses: immich-app/devtools/actions/create-workflow-token@caa599d954228439ea3e8ce1c3328f41ab120ee6 # create-workflow-token-action-v2.0.0
85+
with:
86+
client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }}
87+
private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
88+
7589
- name: Setup Mise
76-
uses: immich-app/devtools/actions/use-mise@035e80a7d4355d5f087ffb95db9e4a0944c04e56 # use-mise-action-v1.1.3
90+
uses: immich-app/devtools/actions/use-mise@01a4d354b70f99a6baf4a1b72827f6d4922e4978 # use-mise-action-v2.0.0
91+
with:
92+
github_token: ${{ steps.token.outputs.token }}
7793

7894
- name: Plan Shared
7995
working-directory: ${{ env.working_dir }}/modules/shared
@@ -153,8 +169,16 @@ jobs:
153169
with:
154170
version: 2.30.3
155171

172+
- id: token
173+
uses: immich-app/devtools/actions/create-workflow-token@caa599d954228439ea3e8ce1c3328f41ab120ee6 # create-workflow-token-action-v2.0.0
174+
with:
175+
client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }}
176+
private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
177+
156178
- name: Setup Mise
157-
uses: immich-app/devtools/actions/use-mise@035e80a7d4355d5f087ffb95db9e4a0944c04e56 # use-mise-action-v1.1.3
179+
uses: immich-app/devtools/actions/use-mise@01a4d354b70f99a6baf4a1b72827f6d4922e4978 # use-mise-action-v2.0.0
180+
with:
181+
github_token: ${{ steps.token.outputs.token }}
158182

159183
- name: Deploy Shared
160184
working-directory: ${{ env.working_dir }}/modules/shared

0 commit comments

Comments
 (0)