From 2d5f31751aec59e7f14118f9aee31f952b393a22 Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Tue, 14 Oct 2025 16:02:44 +0200 Subject: [PATCH] test: try out new create-workflow-token-action --- .github/workflows/static_analysis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index 3e7223be74..0ffe7ab10e 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -41,10 +41,18 @@ jobs: run: working-directory: ./mobile steps: + - name: Generate token + id: token + uses: immich-app/devtools/actions/create-workflow-token@feat/create-workflow-token-action + with: + app-id: ${{ secrets.PUSH_O_MATIC_APP_ID }} + private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }} + - name: Checkout code uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: persist-credentials: false + token: ${{ steps.token.outputs.token }} - name: Setup Flutter SDK uses: subosito/flutter-action@fd55f4c5af5b953cc57a2be44cb082c8f6635e8e # v2.21.0 @@ -58,7 +66,7 @@ jobs: - name: Install DCM uses: CQLabs/setup-dcm@8697ae0790c0852e964a6ef1d768d62a6675481a # v2.0.1 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ steps.token.outputs.token }} version: auto working-directory: ./mobile