ci: fix release workflow
Metadata
Current evaluation
Merged PR canonical/starbase#596 by mr-cal adds GH_REPO to the release workflow so the `gh` CLI knows the target repo; a one-line fix for breakage introduced by #585.
Resolution: closed resolved
Reason: PR #596 was merged with 2 approvals and all CI checks passing, adding the single missing repository context line to the release workflow so `gh` stops failing in downstream consumers such as craft-archives.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This step was updated in https://github.com/canonical/starbase/pull/585 to satisfy a zizmor warning.
However, it's [failing](https://github.com/canonical/craft-archives/actions/runs/33912721254/job/101152850081) because `gh` needs to know the repo.
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/starbase/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [x] 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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR canonical/starbase#596 by mr-cal adds GH_REPO to the release workflow so the `gh` CLI knows the target repo; a one-line fix for breakage introduced by #585. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/starbase#596, restoring the release workflow by providing gh with repository context; all CI checks passed. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to fix a failing CI release workflow. A prior zizmor update broke the gh CLI by omitting the repository context. Added the required repo argument, resolving the failure. All checks passed and the change was approved by two reviewers. | |
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
30
Quick Win:
28
Staleness:
5
Complexity:
5
Confidence:
85
|
needs review | Fixes release workflow broken by starbase#585 by adding repo context for gh. All CI passing, awaiting review. |
Update history
| Date | Change |
|---|---|
| updated | |
| updated | |
| updated | |
| created |
Related work
-
Caused By:
canonical/starbase#585
(confidence 90%)
#585 (commit f86068e) changed the workflow step to satisfy zizmor, removing the implicit repo context and breaking `gh`.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #10 tools: Add release GH action | starbase | closed | Superseded by canonical/starbase#103, which merged the recreated release GitHub Actions workflow in commit 6363b31. | |
| #35 ci: update release publisher workflow from starbase | craft-platforms | merged | Merged PR #35 updated the Starbase-derived release-publish workflow, with 17 additions and 7 deletions in one CI file. | |
| #2144 ci: use starbase release workflows | charmcraft | merged | Merged in canonical/charmcraft#2144 via commit 739941a5, replacing tox-based publishing with Starbase release workflows. | |
| #384 ci: add release publishing workflow | craft-providers | merged | Merged PR #384 as commit 9cb2ccd, adding Starbase’s release-publishing workflow to automate PyPI releases and resolving #361. | |
| #815 ci: fix publishing workflow | craft-application | merged | Merged PR #815 fixed the publishing workflow in commit 86fcd407 with a one-line update to .github/workflows/release-publish.yaml. |