-
-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to fix Parameter token or opts.auth is required
#166
Comments
you can use this example
|
I am hitting this issue as well, using a personal access token. It previously worked with the exact same configuration. My code is as follows: name: on-push-main
on:
push:
branches:
- main
jobs:
tagging:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.PAT }}
fetch_all_tags: true
release_branches: main Nothing relevant changed, and the access token is not expired. |
Diving just slightly deeper I found out this happened when the It's a non-issue for me, since this shouldn't happen in my workflows, usually. Upon pushing from an actual user the action worked correctly. |
Slightly related: there's a |
Expected:
No error
What's actually happening:
The original action
Part of the associated
.yml
:Output:
And stopped running.
So what is token actually? I've tried adding the GitHub token to it
The text was updated successfully, but these errors were encountered: