There was an error while loading. Please reload this page.
1 parent 9e1cf59 commit 236ea3aCopy full SHA for 236ea3a
1 file changed
.github/workflows/hacktoberfest_prep.yml
@@ -80,6 +80,12 @@ jobs:
80
fi
81
git config --global user.name "$GITHUB_ACTOR"
82
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
83
+ # `actions/checkout` runs with `persist-credentials: false`, so git has
84
+ # no token to authenticate the push below (it fails with
85
+ # `fatal: could not read Username for 'https://github.com'`). Wire the
86
+ # bundled `gh` in as git's credential helper so `git push` reuses
87
+ # GH_TOKEN — no third-party action and no token baked into the remote URL.
88
+ gh auth setup-git
89
git switch -c "$BRANCH"
90
git add docs/hacktober_2026_prep.md
91
git commit -m "chore: refresh Hacktoberfest 2026 prep tracker"
0 commit comments