Skip to content
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

Configuration of github-token #52

Open
berndschatz opened this issue Mar 15, 2023 · 1 comment
Open

Configuration of github-token #52

berndschatz opened this issue Mar 15, 2023 · 1 comment

Comments

@berndschatz
Copy link

I have created a github token called GITHUB_TOCKEN_BLACK_DUCK
and wanted it to use it in my actions with:

with:
          github-token: ${{ secrets.GITHUB_TOKEN_BLACK_DUCK }}

The action failed always with: HttpError: You must authenticate via a GitHub App.

If i understand it correctly, every workflow run creates/updates the secret GITHUB_TOKEN
and your action only works if you configure it with this token:

with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

If you can use it only this way, you should not make it configurable and
implement it hard-coded.

@cariad-robert-abel
Copy link

Thanks a bunch for raising this issue! I ran into the same problem and Synopsys' documentation is no help at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants