← Back to issue list

ci: initial sync with canonical/copilot-collections

View original Github issue

Metadata

Project
charmcraft
Number
#2663
Type
pull request
State
merged
Author
Copilot
Labels
Created
Updated
Closed

Current evaluation

Merged sync with canonical/copilot-collections. Added Copilot instructions, skills, and auto-sync workflow to charmcraft. Approved by three reviewers and passed CI checks. Type-check warnings were non-blocking.

Suggested action:

No scores available.

Issue body

Adds GitHub Copilot instructions and skills to charmcraft, mirroring the setup from [canonical/imagecraft#327](https://github.com/canonical/imagecraft/pull/327) (itself based on [canonical/snapcraft#6196](https://github.com/canonical/snapcraft/pull/6196)). ## Added - `.github/.copilot-collections.yaml` — pins `starcraft-core` and `starcraft-docs` collections at `v0.12.0` - `.github/instructions/` — 7 Copilot instruction files covering core directives, Python commenting, documentation guidelines (general, RTD-specific, starcraft style/meta), and instructions authoring - `.github/skills/` — 6 skill files for documentation review, style, structure, build, diataxis, and verification - `.github/workflows/copilot-collections-update.yaml` — weekly cron workflow to auto-sync collections from `canonical/copilot-collections` ## Modified - `.pre-commit-config.yaml` — excludes `^\.github/(skills|instructions)/` since these files are auto-generated - `Makefile` — appends `!.github/instructions/**` and `!.github/skills/**` to `PRETTIER_FILES` to skip auto-generated content from formatting

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged sync with canonical/copilot-collections. Added Copilot instructions, skills, and auto-sync workflow to charmcraft. Approved by three reviewers and passed CI checks. Type-check warnings were non-blocking.
qwen3.6-35b-a3b-mtp-q6 Merged sync with canonical/copilot-collections, adding Copilot instructions, skills, and a weekly update workflow. Updated pre-commit and Makefile to skip auto-generated files. Type warnings were logged as non-blocking.
qwen3.6-35b-a3b-mtp-q6 Merged changes adding GitHub Copilot instructions, skills, and a weekly sync workflow. Updated pre-commit and Makefile configs to ignore auto-generated files. Type checker warnings were noted but marked non-blocking.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#6196 ci: initial sync with canonical/copilot-collections snapcraft merged Merged initial sync with canonical/copilot-collections, adding generated GitHub instructions and skills. Introduces a weekly CI job to detect upstream releases and auto-create update PRs. Approved and merged.
86%
#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.
85%
#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.
76%
#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.
75%
#1388 ✨ Set up Copilot instructions craft-parts closed Implemented. Added .github/.copilot-collections.yaml to configure Copilot collections, created .github/instructions/ with formatting rules and PR comment directives, and established an automated workflow to sync collections from the canonical repository.
73%
#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.
73%
#6233 chore: update Copilot collections to v0.13.0 snapcraft merged Merged automated update to Copilot collections v0.13.0. Approved by two reviewers with a single-line change. Successfully merged after passing core CI checks.
72%
#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.
72%
#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.
72%
#2815 chore: update Copilot collections to v0.18.0 charmcraft merged Merged an automated update to bump Copilot collections to v0.18.0. Approved by one reviewer, the two-file change was successfully integrated despite several initial CI check failures.
71%