Skip to content

Did it available to use when an issue labeled? #272

Answered by stefanzweifel
aoeer39 asked this question in Help
Discussion options

You must be logged in to vote

I've updated your log output so it's clearer to see, what is actually going on.


The actual error is this:

fatal: could not read Username for 'https://github.com/': No such device or address

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 to actions/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…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by aoeer39
Comment options

You must be logged in to vote
5 replies
@stefanzweifel
Comment options

@0x1026
Comment options

@stefanzweifel
Comment options

@0x1026
Comment options

@stefanzweifel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants