File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,6 +206,7 @@ jobs:
206206 - name : Commit and push promotion branch
207207 if : steps.manifest-diff.outputs.has_changes == 'true'
208208 env :
209+ PUSH_TOKEN : ${{ github.token }}
209210 PR_BRANCH : ${{ steps.source-run.outputs.pr_branch }}
210211 SOURCE_SHA : ${{ steps.source-run.outputs.source_sha }}
211212 run : |
@@ -214,7 +215,7 @@ jobs:
214215 git config user.name "github-actions[bot]"
215216 git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
216217 git remote rename origin upstream
217- git remote add origin "https://x-access-token:${GITHUB_TOKEN }@github.com/${HEAD_REPO}.git"
218+ git remote add origin "https://x-access-token:${PUSH_TOKEN }@github.com/${HEAD_REPO}.git"
218219 git checkout -B "${PR_BRANCH}"
219220 git add tools/nsc/manifests
220221 git commit -m "Promote NSC channel ${SOURCE_SHA}"
You can’t perform that action at this time.
0 commit comments