From 4a153cf10e3033a5776f1eda8c5d5bd19b4c43cb Mon Sep 17 00:00:00 2001 From: bobra200 Date: Wed, 22 Jul 2026 11:18:32 -0700 Subject: [PATCH] RDKEMW-22177: update automation to use new PAT --- .github/workflows/release.yml | 4 ++-- .github/workflows/sync-develop-to-main.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b68701..49d4560 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} + token: ${{ secrets.AUTOMATION_TOKEN }} - name: Setup Node.js uses: actions/setup-node@v4 @@ -30,4 +30,4 @@ jobs: - name: Run semantic-release run: npm --prefix .github/release exec -- semantic-release --extends ./.github/release/releaserc.json env: - GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} + GITHUB_TOKEN: ${{ secrets.AUTOMATION_TOKEN }} diff --git a/.github/workflows/sync-develop-to-main.yml b/.github/workflows/sync-develop-to-main.yml index 0f74136..68c921f 100644 --- a/.github/workflows/sync-develop-to-main.yml +++ b/.github/workflows/sync-develop-to-main.yml @@ -37,7 +37,7 @@ jobs: - name: Checkout full history uses: actions/checkout@v4 with: - token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} + token: ${{ secrets.AUTOMATION_TOKEN }} fetch-depth: 0 - name: Configure git identity @@ -86,7 +86,7 @@ jobs: - name: Open PR on conflict if: steps.check.outputs.already_synced == 'false' && (steps.merge.outputs.conflict == 'true' || steps.push_merged.outputs.push_failed == 'true') env: - GH_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} + GH_TOKEN: ${{ secrets.AUTOMATION_TOKEN }} run: | PR_BRANCH="auto-sync/${{ env.SOURCE_BRANCH }}-to-${{ env.TARGET_BRANCH }}" REASON="merge conflict"