Replies: 1 comment 1 reply
-
I came across a discussion #272 with the similar error, but in my case, it doesn't seem to be caused by the ref settings.
Below is the error I'm encountering:
I have also confirmed that the error does not occur if I remove the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
actions/checkout persists Git credentials by default, making them available to subsequent jobs. However, from a security perspective, it's preferable to set
persist-credentials: false
so that credentials are removed during cleanup.actions/checkout#485
Meanwhile, stefanzweifel/git-auto-commit-action assumes the credentials remain from the initial checkout. If
persist-credentials: false
is specified, an error occurs due to missing credentials.Currently, you can avoid this error by manually resetting the credentials with
git remote set-url
before stefanzweifel/git-auto-commit-action runs.I would like to request a new feature in stefanzweifel/git-auto-commit-action to reconfigure credentials automatically. Specifically, even when
persist-credentials: false
is used, the action itself would rungit remote set-url
or a similar command before execution to prevent errors.Thank you for considering this feature request.
Beta Was this translation helpful? Give feedback.
All reactions