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

[BUG] Coverage badge not working with SSO for repo #106

Closed
erickmartins opened this issue Jun 5, 2024 · 2 comments · Fixed by #107
Closed

[BUG] Coverage badge not working with SSO for repo #106

erickmartins opened this issue Jun 5, 2024 · 2 comments · Fixed by #107

Comments

@erickmartins
Copy link
Collaborator

Describe the bug
With JAX now being an SSO org on github, the process we are using for automatically committing a coverage badge does not work any longer.

@erickmartins
Copy link
Collaborator Author

tagging @jax-sobolewski on request

@psobolewskiPhD
Copy link
Contributor

So within the JAX org, the default token used by GitHub Actions (GITHUB_TOKEN) has only read permissions by default.
Previously you could have set it to Read/Write on the repo level.
So now by default the Action cannot make a commit to the repo to update the badge.
The solution is to explicitly provide granular permissions in each workflow.
PR incominig

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

Successfully merging a pull request may close this issue.

2 participants