-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Keep getting Bad_Credentials error #101
Comments
I am also facing the same issue. In my case I am using the GitHub Enterprise Server 3.6.3 and the '2.293.1' runners version. Which permissions need the token to have? Any help on this? |
Hello.
After modifying the code, run the following command before pushing.
|
@ihmabreu @thilakpv @lette1394 The URL of the API endpoint should normally be changed based on the environment variable ( However, this action uses a library that does not support GitHub Enterprise Server and communicates with the GitHub API, so API endpoint changes based on environment variables are not available. Perhaps updating the I had worked on this before but never completed it. |
I merged #63 and released these changes as v1.2.5. |
@kentaro-m my team was able to test the new version with GHE Server successfully 💯 |
@kentaro-m Unfortunately it still doesn't work with GHE 😢 |
name: On Open PR Actions
on:
pull_request:
# types: [opened]
jobs:
auto-assign:
permissions: write-all
runs-on: self-hosted
steps:
- name: Auto Assign Action
uses: kentaro-m/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
I keep getting Bad Credentials error despite of token having write permissions. What am I missing?
GITHUB_TOKEN Permissions
Actions: write
Checks: write
Contents: write
Deployments: write
Discussions: write
Issues: write
Metadata: read
Packages: write
Pages: write
PullRequests: write
RepositoryProjects: write
SecurityEvents: write
Statuses: write
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Error: Bad credentials
The text was updated successfully, but these errors were encountered: