From fbfffc13eb41405596818f24bccb567fc64c23c4 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Mon, 7 Jul 2025 17:30:42 +0000 Subject: [PATCH] chore(ci): Use Personal Access Token for scheduled updates workflow (#2377) Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com> --- .github/workflows/reusable-android-build.yml | 2 +- .github/workflows/scheduled-updates.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-android-build.yml b/.github/workflows/reusable-android-build.yml index 7795fe17c..4a296e4c1 100644 --- a/.github/workflows/reusable-android-build.yml +++ b/.github/workflows/reusable-android-build.yml @@ -53,7 +53,7 @@ jobs: build-scan-terms-of-use-agree: 'yes' add-job-summary: always - name: Run Detekt, Build, Lint, and Local Tests - run: ./gradlew detekt lintFdroidDebug lintGoogleDebug assembleDebug testFdroidDebug testGoogleDebug --configuration-cache --scan --parallel + run: ./gradlew detekt lintFdroidDebug lintGoogleDebug assembleDebug testFdroidDebug testGoogleDebug --configuration-cache --scan - name: Upload F-Droid debug artifact if: ${{ inputs.upload_artifacts }} uses: actions/upload-artifact@v4 diff --git a/.github/workflows/scheduled-updates.yml b/.github/workflows/scheduled-updates.yml index 13697f2e7..b0c4fcd58 100644 --- a/.github/workflows/scheduled-updates.yml +++ b/.github/workflows/scheduled-updates.yml @@ -92,7 +92,7 @@ jobs: - name: Create Pull Request if changes occurred uses: peter-evans/create-pull-request@v7 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.AUTOMATION_PAT }} commit-message: | chore: Scheduled updates (Firmware, Hardware, Translations)