Skip to content

ci: add read permissions to the CLA workflow#606

Open
odadacharles wants to merge 3 commits into
canonical:mainfrom
odadacharles:cla-explicit-permissions
Open

ci: add read permissions to the CLA workflow#606
odadacharles wants to merge 3 commits into
canonical:mainfrom
odadacharles:cla-explicit-permissions

Conversation

@odadacharles
Copy link
Copy Markdown
Contributor

@odadacharles odadacharles commented May 26, 2026

  • Have you updated CHANGELOG.md with relevant non-documentation file changes?
  • Have you updated the documentation for this change?

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.

…t permissions related error.

Signed-off-by: Charles Odada <charles.odada@canonical.com>
Signed-off-by: Charles Odada <charles.odada@canonical.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_TOKEN permissions (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.

Comment thread CHANGELOG.md Outdated
@medubelko medubelko changed the title refactor: Add explicit read only permissions to the CLA workflow ci: add read permissions to the CLA workflow May 26, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@medubelko medubelko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, @odadacharles!

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 this pull request may close these issues.

3 participants