Closed guiyep closed 2 years ago
Thanks for reporting. For now, I've reset v4 to alias to v4.12.0. Will have to investigate this further.
fatal: You are not currently on a branch. To push the history leading to the current (detached HEAD) state now, use
This is the problem. You have to checkout a branch in the actions/checkout step. (On the release trigger, GitHub Actions doesn't know which branch to checkout)
Add ref: main to the checkout step. (See docs https://github.com/actions/checkout)
I wonder what is publishing my action then :) let me try! there may be something between master and main here
It is defaulting to master already.
Using 'master' as the name for the initial branch.
@guiyep Hm. Could you add branch
to the auto-commit-action
-step?
- uses: stefanzweifel/git-auto-commit-action@v4
with:
+ branch: master
commit_message: "[CI] publish new bundle size"
commit_user_name: Guillermo Polit
commit_user_email: guiyep@gmail.com
commit_author: guiyep <guiyep@gmail.com>
let me give a try! thanks for the help :)
worked! thanks for the help :)
While running the girhub action on release I get the next error:
Actions:
Any idea? What it is only failing is the
stefanzweifel/git-auto-commit-action@v4
section