Did it available to use when an issue labeled? #272
-
on:
issues:
types: [labeled] How to fix the following issue?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I've updated your log output so it's clearer to see, what is actually going on. The actual error is this:
As you listen to the - name: Checkout
uses: actions/checkout@v3
with:
+ ref: main
persist-credentials: false
fetch-depth: 0 See also https://github.com/stefanzweifel/git-auto-commit-action#checkout-the-correct-branch. Note: Using git-auto-commit with the |
Beta Was this translation helpful? Give feedback.
-
I've the same error, I want to commit on a pull request.
|
Beta Was this translation helpful? Give feedback.
I've updated your log output so it's clearer to see, what is actually going on.
The actual error is this:
As you listen to the
issues
-event, you must tell GitHub Actions which branch should be checked out.Update your workflow to add a
ref
-argument toactions/checkout
:- name: Checkout uses: actions/checkout@v3 with: + ref: main persist-credentials: false fetch-depth: 0
See also https://github.com/stefanzweifel/git-auto-commit-action#checkout-the-correct-branch.
Note: Using git-auto-commit with the
issues
-event is not encouraged or tested. It can well b…