Why git-auto-commit-action
does not consider my all git history?
#340
-
Hello, Consider this GH action:
I'm totally able to auto-commit on
Do you know what's happening? Thanks for your guidance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi!
"github-actions[bot]" is the default As you might already noticed, you can change that by passing a different string to To your main issue: This is related to You workflow should then look like this: name: Build changelog
on:
push:
branches:
- master
jobs:
run-braudel:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v2
- run: bun build:changelog
# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'docs: auto-generate changelog'
commit_user_name: robot |
Beta Was this translation helpful? Give feedback.
@charnould It looks like the commit_user_email takes presedence when GitHub deploys the commit user information.
https://github.com/charnould/pierre/actions/runs/10599613904/job/29375069889#step:6:27
Adding a different email address in
commit_user_email
should fix that.