Skip to content

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

Open
lengau wants to merge 2 commits into
mainfrom
work/fix-copilot-collections
Open

ci: give copilot collections job the right perms#6352
lengau wants to merge 2 commits into
mainfrom
work/fix-copilot-collections

Conversation

@lengau

@lengau lengau commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

See: https://github.com/canonical/snapcraft/actions/runs/29241317562


  • I've followed the contribution guidelines.
  • I've signed the CLA.
  • I've successfully run make lint && make test.
  • I've added or updated any relevant documentation.
  • In documents I changed, I added a meta description if one was missing.
  • I've updated the relevant release notes.

Copilot AI review requested due to automatic review settings July 16, 2026 03:25
@lengau
lengau requested a review from mr-cal as a code owner July 16, 2026 03:25

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 scheduled “Copilot Instructions” workflow to grant the GITHUB_TOKEN the permissions required by the reusable canonical/copilot-collections auto-update workflow, addressing the linked GitHub Actions failure.

Changes:

  • Add workflow-level permissions for contents: write and pull-requests: write so the reusable workflow can commit/update content and open/update PRs.

@mr-cal
mr-cal requested a review from a team July 16, 2026 12:09
lengau added a commit to canonical/charmcraft that referenced this pull request Jul 16, 2026
Replicate canonical/snapcraft#6352.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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