-
Notifications
You must be signed in to change notification settings - Fork 615
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add permissions to website deployment job #4285
Conversation
(cherry picked from commit a074f7d) # Conflicts: # .github/workflows/ci.yml
(cherry picked from commit a074f7d) # Conflicts: # .github/workflows/ci.yml
(cherry picked from commit a074f7d)
@jackkoenig So, I upgraded our Github organization yesterday (which would have happened automatically in a few weeks). I did not change any permissions, but what I did change was to remove some of the folks who were admins over the entire CHIPS enterprise account. I did not expect this to cause issues for individual projects. To me I think this means I probably need to audit our organization and how it is setup. You should not need to be an admin over the entire org to administer a project. Let me know if you need to be added back as as admin or if the above has solved the problem. |
@bensternthal Thanks for the info! I did some poking around and I don't think you did anything wrong or need to audit anything. I think this is just a setting that is stricter in Github Enterprise, see the screenshot below. We used to have this set to |
@jackkoenig Thanks for tagging me in on this. I ran into a similar issue on the chipsalliance website github action and your response saved me quite a bit of time hunting around for the fix! |
I think chipsalliance changed something about default repo settings and now GITHUB_TOKEN only defaults to read permissions. We need to be more explicit with permissions to ensure various automation can continue working. I noticed the website deployment started failing but it is likely that other automation jobs will need similar permissions (publishing release artifacts, release notes, etc.).
Contributor Checklist
docs/src
?Type of Improvement
Desired Merge Strategy
Release Notes
Reviewer Checklist (only modified by reviewer)
3.6.x
,5.x
, or6.x
depending on impact, API modification or big change:7.0
)?Enable auto-merge (squash)
, clean up the commit message, and label withPlease Merge
.Create a merge commit
.