From c638b5cfe9f28ada12e8429c965997a4a71954f7 Mon Sep 17 00:00:00 2001 From: "Alex M. Lowe" Date: Wed, 15 Jul 2026 23:24:33 -0400 Subject: [PATCH] ci: give copilot collections job the right perms See: https://github.com/canonical/snapcraft/actions/runs/29241317562 --- .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 17287b354b..4dfd90c58d 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