ci: add read permissions to the CLA workflow#606
Open
odadacharles wants to merge 3 commits into
Open
Conversation
…t permissions related error. Signed-off-by: Charles Odada <charles.odada@canonical.com>
Signed-off-by: Charles Odada <charles.odada@canonical.com>
There was a problem hiding this comment.
Pull request overview
Adds explicit GitHub Actions token permissions to the CLA check workflow to address recent Resource not accessible by integration failures caused by updated GitHub security policy requirements.
Changes:
- Add explicit read-only
GITHUB_TOKENpermissions (contents: read,pull-requests: read) to the CLA workflow. - Record the workflow change in
CHANGELOG.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
CHANGELOG.md |
Adds an entry noting the CLA workflow update. |
.github/workflows/cla-check.yml |
Sets explicit read-only permissions for the CLA check workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
medubelko
approved these changes
May 26, 2026
Collaborator
medubelko
left a comment
There was a problem hiding this comment.
Thanks for the fix, @odadacharles!
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.
CHANGELOG.mdwith relevant non-documentation file changes?There have been some recent CLA failures (in at least two doc sets), with an error message that says
Error: Resource not accessible by integration. This seems to have been caused by a lack of explicit read permissions for the CLA workflow as required by a recent change in policy to improve security. Adding the permissions resolves the issue.No examples are linked here because the doc sets affected so far are internal, but it's possible this may extend to other docs as well due to the new policy. It's still unclear why the scope of the failures has been limited so far.