← Back to issue list

ci: give copilot collections job the right perms

View original Github issue

Metadata

Project
snapcraft
Number
#6352
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged to grant correct permissions to the CI copilot collections job. Approved by two reviewers, the change resolves permission errors in the referenced GitHub Actions run. Updated one file with four added lines.

Suggested action:

No scores available.

Issue body

See: https://github.com/canonical/snapcraft/actions/runs/29241317562 --- - [ ] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md). - [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] 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](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged to grant correct permissions to the CI copilot collections job. Approved by two reviewers, the change resolves permission errors in the referenced GitHub Actions run. Updated one file with four added lines.
qwen/qwen3.6-35b-a3b
Staleness: 15
Complexity: 5
Confidence: 90
needs review Updates CI workflow permissions for the Copilot collections job to resolve access issues. Currently approved by one reviewer with most CI checks passing and a few pending.
qwen/qwen3.6-35b-a3b
Staleness: 10
Complexity: 5
Confidence: 85
needs review Updates CI configuration to grant correct permissions to the copilot collections job. Approved by one reviewer with zero comments, though two CI checks are currently failing.
qwen3.6-35b-a3b-mtp-q6
Staleness: 0
Complexity: 5
Confidence: 90
needs review Updates CI workflow permissions for the copilot collections job to resolve failing GitHub Actions run. Currently awaiting maintainer review and CI validation.

Update history

Date Change
updated
updated

Related issues

Issue Project State Summary Similarity
#2796 ci: give copilot collections job the right perms charmcraft merged 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.
90%
#1655 ci: add copilot-collections config craft-parts merged Merged after approval. Updates copilot collections configuration and workflow permissions. CI passed after resolving an initial conventional commit title check. Changes affect 4 files with 98 additions and 41 deletions.
83%
#397 Add write permissions to copilot-collections-update workflow imagecraft merged Merged. Adds contents and pull-requests write permissions to the copilot-collections-update workflow, replicating a fix from canonical/charmcraft#2796. Approved by one reviewer and passed CI checks.
79%
#154 ci: add copilot collections debcraft open Adds Copilot Collections configuration (18 files, +3032 lines) to debcraft CI. Approved by 2 reviewers with all CI checks passing, but 11 unresolved review comments remain and no activity for ~3.5 months. Same change merged in sibling craft projects.
74%
#1139 chore: add Copilot Collections config craft-application merged Merged after approval, the pull request adds Copilot Collections configuration across 20 files. The changes include over 3,000 lines of config updates and passed most CI checks.
74%
#1576 chore: add Copilot collections craft-parts merged Merged pull request adding Copilot collections. Approved by two reviewers with zero unresolved comments. The change adds 2,993 lines across 20 files and was merged after passing required checks.
73%
#1389 docs: add GitHub Copilot instructions and setup validation workflow craft-parts closed Added GitHub Copilot instructions and a CI validation workflow. After iterative revisions, the closed pull request was superseded by copilot collections.
73%
#327 ci: initial sync with canonical/copilot-collections imagecraft merged Merged an experimental CI sync with canonical/copilot-collections to enable copilot collections testing in Imagecraft. Approved by two reviewers and merged despite failing spread tests on older Ubuntu versions.
72%
#477 ci: add actions: read permission to policy job craft-cli merged Merged a single-line update granting actions: read permissions to the GitHub Actions policy job. This prevents workflow failures by aligning with required upstream permissions. Approved and passed all CI checks.
71%
#381 build: Add copilot instructions and collections craft-store merged Merged after approval and passing CI checks. Adds Copilot instructions and collections to the build, replicating canonical/imagecraft#327. Intentionally retains older collection versions to enable an updater workflow. Changed 21 files.
70%