There was an error while loading. Please reload this page.
1 parent 27e6750 commit f61028fCopy full SHA for f61028f
1 file changed
.github/workflows/pre-commit.yml
@@ -72,11 +72,11 @@ jobs:
72
- name: Commit and push changes
73
if: env.CAN_PUSH == 'true' && steps.changes.outputs.changed == 'true'
74
env:
75
- PR_PUSH_TOKEN: ${{ steps.pr-push.outputs.token }}
+ GH_TOKEN: ${{ steps.pr-push.outputs.token }}
76
run: |
77
git config user.name "pr-push[bot]"
78
git config user.email "pr-push[bot]@users.noreply.github.com"
79
- git remote set-url origin "https://x-access-token:${PR_PUSH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
+ gh auth setup-git
80
git add -A
81
if git diff --staged --quiet; then
82
echo "No changes to commit"
0 commit comments