ci: give copilot collections job the right perms
Metadata
Current evaluation
Merged PR charmcraft#2796 (commit 9f3567e6), adding contents and pull-requests write permissions to the copilot collections update workflow, replicating canonical/snapcraft#6352.
Resolution: closed resolved
Reason: The PR itself was merged (commit 9f3567e6), adding `permissions: contents: write, pull-requests: write` to the copilot-collections-update workflow so the job can push collection updates. It replicated the equivalent merged fix in canonical/snapcraft#6352 (3cf7205b7), which unblocked the same job in charmcraft.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR charmcraft#2796 (commit 9f3567e6), adding contents and pull-requests write permissions to the copilot collections update workflow, replicating canonical/snapcraft#6352. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in charmcraft#2796 (9f3567e6), granting contents and pull-requests write access to the copilot collections update workflow, following snapcraft#6352. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged changes granting write permissions for contents and pull requests to the copilot collections update workflow, replicating canonical/snapcraft#6352. Approved by one reviewer and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
0
Complexity:
10
Confidence:
90
|
needs review | Grants write permissions for contents and pull requests to the copilot collections update workflow, replicating a change from canonical/snapcraft. Awaiting review. |
Update history
| Date | Change |
|---|---|
| updated |
Related work
-
Likely Fixed By:
canonical/snapcraft#6352
(confidence 90%)
Original fix this PR replicates; merged as 3cf7205b7 granting the same workflow permissions.
-
Related To:
canonical/imagecraft#397
(confidence 70%)
Same permissions fix applied to imagecraft's copilot-collections-update workflow.
-
Related To:
craft-parts#1655
(confidence 60%)
Related copilot-collections CI configuration and workflow permissions change (d576ad00).
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6352 ci: give copilot collections job the right perms | snapcraft | merged | Merged #6352 in commit 3cf7205b7, granting the Copilot collections update workflow contents and pull-request write permissions. | |
| #397 Add write permissions to copilot-collections-update workflow | imagecraft | merged | PR #397 merged (commit a8731e7), adding contents: write and pull-requests: write permissions to the copilot-collections-update workflow so the scheduled collection sync can push updates; ported from charmcraft#2796. | |
| #1655 ci: add copilot-collections config | craft-parts | merged | Merged PR #1655 as d576ad00, updating Copilot Collections configuration and granting the update workflow the required permissions. | |
| #327 ci: initial sync with canonical/copilot-collections | imagecraft | merged | Merged PR #327 as commit 82bd946, adding an experimental 21-file Copilot collections sync based on canonical/snapcraft#6196. | |
| #154 ci: add copilot collections | debcraft | closed | Closed unmerged as redundant after the same Copilot Collections configuration was merged in canonical/craft-application#1139. | |
| #964 chore: add copilot-collections | craft-providers | merged | Merged canonical/craft-providers#964, adding Copilot Collections configuration across 21 files (+2,998 lines), via commit 742eeb4. | |
| #1576 chore: add Copilot collections | craft-parts | merged | Merged canonical/craft-parts#1576, adding Copilot collections across 20 files (+2,993 lines). | |
| #1161 chore: update Copilot collections to v0.19.0 | craft-application | merged | Merged PR canonical/craft-application#1161 bumping Copilot collections to v0.19.0; merged as commit 9a80904e after approval with all CI checks green. | |
| #6215 chore: update Copilot collections to v0.12.0 | snapcraft | merged | Merged PR #6215 in commit 0b34926fe, updating Snapcraft's Copilot collections to v0.12.0 across two files with three approvals. | |
| #1139 chore: add Copilot Collections config | craft-application | merged | Merged Copilot Collections configuration for starcraft-core and starcraft-docs in canonical/craft-application#1139 (commit c7f0017e). |