From ade60c7225af7aea3152c95ac26ae4f3502d10be Mon Sep 17 00:00:00 2001 From: Alex Lowe Date: Wed, 15 Jul 2026 23:39:11 -0400 Subject: [PATCH] ci: give copilot collections job the right perms Replicate canonical/snapcraft#6352. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/copilot-collections-update.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/copilot-collections-update.yaml b/.github/workflows/copilot-collections-update.yaml index df28b1aff..76e99ce82 100644 --- a/.github/workflows/copilot-collections-update.yaml +++ b/.github/workflows/copilot-collections-update.yaml @@ -4,6 +4,10 @@ on: - cron: "0 9 * * 1" # Run every Monday at 09:00 UTC workflow_dispatch: +permissions: + contents: write + pull-requests: write + jobs: check-update: # Pinned to @main to get the latest logic, but the content version is controlled by .github/.copilot-collections.yaml