diff --git a/.github/workflows/pr-backport-autotrigger.yml b/.github/workflows/pr-backport-autotrigger.yml index 152db3bee0..f351a4f97c 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 }}