From 1f2be542f0c5baa1d2df344e013400db95d6ff83 Mon Sep 17 00:00:00 2001 From: Yuhong Sun Date: Sun, 27 Oct 2024 15:59:52 -0700 Subject: [PATCH] Backport Test --- .github/workflows/pr-backport-autotrigger.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-backport-autotrigger.yml b/.github/workflows/pr-backport-autotrigger.yml index 152db3bee..f351a4f97 100644 --- a/.github/workflows/pr-backport-autotrigger.yml +++ b/.github/workflows/pr-backport-autotrigger.yml @@ -12,6 +12,8 @@ jobs: backport: if: github.event.pull_request.merged == true runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.YUHONG_GH_ACTIONS }} steps: - name: Checkout code uses: actions/checkout@v3 @@ -96,5 +98,3 @@ jobs: # Push the changes and tag to the stable branch using PAT git push origin ${{ steps.list-branches.outputs.stable }} --force git push origin ${{ steps.list-branches.outputs.new_stable_tag }} - env: - GITHUB_TOKEN: ${{ secrets.YUHONG_GH_ACTIONS }}