ci: allow republishing branches (#5078)
Metadata
Current evaluation
Merged: cherry-pick of #5078 onto main, adding a workflow_dispatch trigger to .github/workflows/publish.yaml so expired feature/ branch snaps can be re-published manually (commit 0449661).
Resolution: closed resolved
Reason: PR #5082 was approved (2 reviewers, 0 unresolved comments) and merged into main as commit 044966165, which added the two-line 'workflow_dispatch' trigger with the comment 'allow manual re-publishing as branches expire after 30 days' to .github/workflows/publish.yaml, still present in the current file.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Cherry-picking https://github.com/canonical/snapcraft/pull/5078 on `main`, as manual workflows are determined by `main`.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged: cherry-pick of #5078 onto main, adding a workflow_dispatch trigger to .github/workflows/publish.yaml so expired feature/ branch snaps can be re-published manually (commit 0449661). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #5078 and cherry-picked to main as #5082 (commit 0449661), enabling branch republishing in CI because manual workflows are determined by main. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to main as a cherry-pick. Approved by two reviewers and passed CI. The change updates CI configuration to enable branch republishing, since manual workflows are determined by the main branch. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged PR #5078 to enable CI branch republishing. The change was cherry-picked to main since manual workflows depend on that branch, ensuring consistent CI configuration. |
Update history
No update history recorded yet.
Related work
-
Duplicate Of:
canonical/snapcraft#5078
(confidence 95%)
Original PR on the maintenance branch; #5082 is explicitly its cherry-pick onto main since manual workflows are determined by main.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5078 ci: allow republishing branches | snapcraft | merged | Merged #5078 to allow CI branch republishing; follow-up #5082 cherry-picked the change to main as 0449661. | |
| #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. | |
| #193 ci: fix publishing workflow | craft-archives | merged | Merged into main as 33701d8, fixing the publishing workflow; all CI checks passed after two approvals. |