ci: update permissions for publishing to pypi
Metadata
Current evaluation
Merged after two approvals and passing CI. Updates CI permissions to resolve a failing job when publishing to PyPI. The change adds a single line to one file.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
-----
I'm not sure why this is not needed in other repos, but CI is failing: https://github.com/canonical/craft-store/actions/runs/11130571185/job/30933712504
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after two approvals and passing CI. Updates CI permissions to resolve a failing job when publishing to PyPI. The change adds a single line to one file. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a pull request updating CI permissions for PyPI publishing to resolve a failing GitHub Actions workflow. Adjusted workflow configuration to grant necessary scopes, enabling successful package deployment. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #299 ci: use Trusted Publishing for PyPI releases | craft-cli | merged | Merged changes to update CI configuration for PyPI releases using Trusted Publishing. Approved by one reviewer with a single file modification (+6/-2 lines). | |
| #77 ci: use Trusted Publishing for PyPI releases | craft-grammar | merged | Merged a single-file CI update implementing Trusted Publishing for PyPI releases. Approved by two reviewers with zero unresolved comments and passing checks. | |
| #815 ci: fix publishing workflow | craft-application | merged | Merged a single-line fix to the CI publishing workflow. Approved by two reviewers with all continuous integration checks passing. | |
| #372 ci: fixups for the publish workflow | starbase | merged | Merged after approval from two reviewers. Implements minor fixes to the CI publish workflow, superseding PR #371. Changes modify a single file with nine additions and eleven deletions. |