You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a simple run command will return an error in any Github Action workflow. Is there a permission that we can set to enable it? (not that I could find..)
Error: unauthorized
{"error":{"code":"unauthorized","message":"Resource not accessible by integration","details":"Resource not accessible by integration"}}
The text was updated successfully, but these errors were encountered:
Is there a permission that we can set to enable it?
There is not currently a permission that will enable seamless access to GitHub Models via Actions. Accessing models from a workflow is possible using a combination of Actions secrets and the gh auth login.
Use gh auth login --with-token to login using the repository secret
A possible alternative could be using a GitHub app that has the right permissions, and use https://github.com/actions/create-github-app-token to access a token for the workflow, instead of using the default ${{ github.token }}.
Just a simple run command will return an error in any Github Action workflow. Is there a permission that we can set to enable it? (not that I could find..)
workflow.yml
Output:
The text was updated successfully, but these errors were encountered: