Repository navigation
ci: declare token permissions for jobs that write - #4803
Merged
Merged
Conversation
These jobs rely on the org default GITHUB_TOKEN (read+write). Declaring what they need lets the org default become read-only. Refs ObolNetwork/obol-infrastructure#3294
|
obol-platform
approved these changes
Oct 22, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4803 +/- ##
=======================================
Coverage 67.61% 67.61%
=======================================
Files 254 254
Lines 33609 33609
=======================================
+ Hits 22725 22726 +1
+ Misses 10883 10882 -1
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Refs ObolNetwork/obol-infrastructure#3294
The org default
GITHUB_TOKENis read+write, and these jobs rely on it to write (push images to ghcr.io, open or comment on PRs, deploy Pages, upload code scanning results, write check runs). This adds job-levelpermissions:with exactly what each job needs, so the org default can be switched to read-only without breaking them.No behaviour change while the org default is still read+write.
category: misc
ticket: none