|
43 | 43 | with: |
44 | 44 | version: 2.30.3 |
45 | 45 |
|
| 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 | + |
46 | 52 | - 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 }} |
48 | 56 |
|
49 | 57 | - name: Check Formatting |
50 | 58 | run: terragrunt hcl format --check --diff |
|
72 | 80 | with: |
73 | 81 | version: 2.30.3 |
74 | 82 |
|
| 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 | + |
75 | 89 | - 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 }} |
77 | 93 |
|
78 | 94 | - name: Plan Shared |
79 | 95 | working-directory: ${{ env.working_dir }}/modules/shared |
@@ -153,8 +169,16 @@ jobs: |
153 | 169 | with: |
154 | 170 | version: 2.30.3 |
155 | 171 |
|
| 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 | + |
156 | 178 | - 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 }} |
158 | 182 |
|
159 | 183 | - name: Deploy Shared |
160 | 184 | working-directory: ${{ env.working_dir }}/modules/shared |
|
0 commit comments