Skip to content

Commit aa8eaf8

Browse files
johnlindquistclaude
andcommitted
Fix GitHub Actions workflow by using built-in bot credentials
Replace secret-based git config with GitHub Actions bot credentials to fix the failing Setup git step in the release workflow. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 63328a9 commit aa8eaf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/onPushToMain.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
- name: Setup git
3333
if: ${{ steps.version-check.outputs.skipped == 'false' }}
3434
run: |
35-
git config --global user.email ${{ secrets.GH_EMAIL }}
36-
git config --global user.name ${{ secrets.GH_USERNAME }}
35+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
36+
git config --global user.name "github-actions[bot]"
3737
- name: Generate oclif README
3838
if: ${{ steps.version-check.outputs.skipped == 'false' }}
3939
id: oclif-readme

0 commit comments

Comments
 (0)