ci: make snapcraft.yaml render as YAML in bug reports
Metadata
Current evaluation
Merged a one-line CI update ensuring snapcraft.yaml renders as proper YAML in bug reports. Approved by two reviewers, passed all checks, and integrated into the codebase.
Suggested action: —
No scores available.
Issue body
See: https://github.com/canonical/rockcraft/pull/684
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `tox run -m lint`?
- [ ] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a one-line CI update ensuring snapcraft.yaml renders as proper YAML in bug reports. Approved by two reviewers, passed all checks, and integrated into the codebase. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Updates CI to render snapcraft.yaml as YAML in bug reports for better readability. Successfully integrated into the main branch. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes that update CI to render snapcraft.yaml as valid YAML in bug reports, improving issue readability and debugging. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #146 Syntax of snapcraft.yaml (1.x) | snapcraft | merged | Merged after rebasing to resolve diff conflicts and squashing commits. The pull request updates snapcraft.yaml (1.x) syntax and received final approval before integration. | |
| #2393 lifecycle: make snapcraft init template use > not | | snapcraft | merged | Merged changes to update the snapcraft init template, replacing the YAML literal style with the folded style for the description field. Approved and integrated to correct formatting per bug report lp:1801973. | |
| #2160 many: refactor snapcraft.yaml loading out of load_config | snapcraft | merged | Merged a refactor separating raw snapcraft.yaml loading from validated processing within load_config. Approved by reviewer, passed CI checks, and integrated into master with 95.54% diff coverage. | |
| #3526 project: validate snapcraft yaml before using it (CRAFT-55) | snapcraft | closed | Merged into master. Moves snapcraft YAML validation to get_project() to prevent errors during extension application and JSON schema checks. Approved by two reviewers. | |
| #5664 fix: snapcraft init crash when snapcraft.yaml exists but is empty | snapcraft | merged | Merged a fix for a snapcraft init crash when snapcraft.yaml exists but is empty. The PR addressed review comments, added unit tests, and passed all CI checks before merging. | |
| #5924 docs: clean up 'snapcraft.yaml' | snapcraft | merged | Merged documentation cleanup for snapcraft.yaml, including typo fixes, docstring link updates, and JSON schema regeneration. Reviewers approved the non-functional changes, and the schema workflow was resolved by running make schema. |