← Back to issue list

Add write permissions to copilot-collections-update workflow

View original Github issue

Metadata

Project
imagecraft
Number
#397
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed resolved

Reason: The PR itself was merged as commit a8731e7 ("Add write permissions to copilot-collections-update workflow (#397)"), adding a top-level permissions block with contents: write and pull-requests: write to .github/workflows/copilot-collections-update.yaml, replicating canonical/charmcraft#2796.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Grants `contents: write` and `pull-requests: write` permissions to the copilot-collections update workflow, replicating the fix from canonical/charmcraft#2796.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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.
stealth/space-bunny-alpha — closed resolved Merged canonical/snapcraft#6352 (3cf7205b7), adding contents and pull-requests write permissions to the Copilot collections update workflow.
qwen/qwen3.6-35b-a3b — — 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.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 90
needs review Updates GitHub Actions workflow permissions to contents and pull-requests write access to fix collection updates. Approved by one reviewer, CI passing except one known boot-arm test.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 90
needs review Updates GitHub Actions workflow permissions to contents: write and pull-requests: write for the copilot-collections update workflow. All CI checks are passing, awaiting maintainer review.

Update history

Date Change
updated
updated
created

Related work

  • Related To: canonical/charmcraft#2796 (confidence 97%)

    Source fix replicated here: merged charmcraft PR adding the same write permissions (commit 9f3567e6), itself a port of canonical/snapcraft#6352

  • Likely Fixed By: imagecraft#327 (confidence 40%)

    Earlier commit 82bd946 introduced the copilot-collections update workflow but without write permissions, which this PR corrects

Related issues

Issue Project State Summary Similarity
#2796 ci: give copilot collections job the right perms charmcraft merged Merged PR charmcraft#2796 (commit 9f3567e6), adding contents and pull-requests write permissions to the copilot collections update workflow, replicating canonical/snapcraft#6352.
85%
#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.
83%
#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.
80%
#2815 chore: update Copilot collections to v0.18.0 charmcraft merged Merged PR canonical/charmcraft#2815 bumped Copilot collections to v0.18.0, a routine bot-authored chore touching 2 files (+18/-1) with one approval.
71%
#2807 chore: update Copilot collections to v0.15.0 charmcraft merged Dependabot-style PR canonical/charmcraft#2807 from github-actions[bot] merged, bumping Copilot collections from v0.14.0 to v0.15.0 across 3 files (+94/-41) with 2 approvals and all CI jobs green.
71%
#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.
71%
#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.
71%
#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.
70%