Skip to content

Commit d71e5a1

Browse files
committed
ci: clarify skill review push credentials
1 parent 2114e05 commit d71e5a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/check-skills.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
3232
with:
3333
fetch-depth: 0
34-
persist-credentials: false
34+
persist-credentials: true # review job pushes a generated branch
3535

3636
- name: Setup Node
3737
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
@@ -121,7 +121,7 @@ jobs:
121121
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
122122
git checkout -b "$BRANCH"
123123
git commit --allow-empty -m "chore: review stale skills for ${VERSION}"
124-
git push "https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" "$BRANCH"
124+
git push origin "$BRANCH"
125125
126126
node <<'NODE'
127127
const fs = require('fs')

0 commit comments

Comments
 (0)