Skip to content

ci: give copilot collections job the right perms - #2796

Merged
lengau merged 1 commit into
mainfrom
work/fix-copilot-collections
Jul 16, 2026
Merged

ci: give copilot collections job the right perms#2796
lengau merged 1 commit into
mainfrom
work/fix-copilot-collections

Conversation

@lengau

@lengau lengau commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Replicates canonical/snapcraft#6352 by granting the copilot collections update workflow write permissions for contents and pull requests.

Replicate canonical/snapcraft#6352.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the Copilot collections auto-update GitHub Actions workflow to grant the permissions needed to push content changes and create/update pull requests, matching the behavior described in the PR description.

Changes:

  • Add top-level workflow permissions granting contents: write and pull-requests: write to the Copilot collections update workflow.

@mr-cal
mr-cal requested a review from a team July 16, 2026 12:10
@lengau
lengau merged commit 9f3567e into main Jul 16, 2026
16 of 17 checks passed
@lengau
lengau deleted the work/fix-copilot-collections branch July 16, 2026 13:57
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