diff --git a/.github/workflows/build-mobile.yml b/.github/workflows/build-mobile.yml index a5d1fd358e..efd501200d 100644 --- a/.github/workflows/build-mobile.yml +++ b/.github/workflows/build-mobile.yml @@ -51,7 +51,6 @@ jobs: should_run: ${{ steps.check.outputs.should_run }} steps: - id: token - if: ${{ !github.event.pull_request.head.repo.fork }} uses: immich-app/devtools/actions/create-workflow-token@caa599d954228439ea3e8ce1c3328f41ab120ee6 # create-workflow-token-action-v2.0.0 with: client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }} @@ -61,7 +60,7 @@ jobs: id: check uses: immich-app/devtools/actions/pre-job@91f342bb4477c4bc10c576ae739da875d85aa164 # pre-job-action-v2.0.4 with: - github-token: ${{ steps.token.outputs.token || github.token }} + github-token: ${{ steps.token.outputs.token }} filters: | mobile: - 'mobile/**' @@ -80,7 +79,6 @@ jobs: steps: - id: token - if: ${{ !github.event.pull_request.head.repo.fork }} uses: immich-app/devtools/actions/create-workflow-token@caa599d954228439ea3e8ce1c3328f41ab120ee6 # create-workflow-token-action-v2.0.0 with: client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }} @@ -88,9 +86,9 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ inputs.ref || github.sha }} + ref: ${{ inputs.ref }} persist-credentials: false - token: ${{ steps.token.outputs.token || github.token }} + token: ${{ steps.token.outputs.token }} - name: Create the Keystore if: ${{ !github.event.pull_request.head.repo.fork }} @@ -179,7 +177,7 @@ jobs: QR code - GitHub login required. Downloads as a zip containing a single `app-release.apk` — extract and install. Installs as a separate app (applicationId `app.alextran.immich.pr${{ github.event.pull_request.number }}`), so it coexists with the Play Store version and any other PR builds. + Installs as a separate app (applicationId `app.alextran.immich.pr${{ github.event.pull_request.number }}`), so it coexists with the Play Store version and any other PR builds. - name: Save Gradle Cache id: cache-gradle-save