1 parent f3b8559 commit 2c50ad8Copy full SHA for 2c50ad8
1 file changed
.github/workflows/ci.yaml
@@ -71,6 +71,7 @@ jobs:
71
env:
72
GH_TOKEN: ${{ steps.bot.outputs.token }}
73
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
74
+ REPOSITORY: ${{ github.repository }}
75
run: |
76
pinact run
77
if git diff --quiet; then
@@ -80,4 +81,5 @@ jobs:
80
81
82
git add .github/workflows/
83
git commit -m "chore(ci): pin GitHub Actions to commit SHA"
84
+ git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${REPOSITORY}"
85
git push origin "HEAD:${BRANCH_NAME}"
0 commit comments