CI: allow starting a release build by hand #3

Merged
aluminum-ice merged 1 commit from ci-manual-dispatch into master 2026-10-31 02:35:15 +00:00
Owner

What this PR does

Ports the GitHub fork's manual dispatch to the Forgejo workflow (.forgejo/workflows/ci.yml): a release build can be started from the Actions tab with a tag as input, and the tag is created on the commit the run starts from.

  • workflow_dispatch with a required tag input (must start with v).
  • A RELEASE_TAG value: the pushed tag, or the typed-in one for a manual run. The package, upload and release steps key off it instead of forgejo.ref.
  • The release step passes sha: ${{ forgejo.sha }}, so a manually started run tags the commit it built.

Unchanged: tag pushes build and release exactly as before, and releases stay drafts (Kestrel downloads from them, so they're published by hand). The GitHub fork's automatic publishing with generated notes isn't ported: the Forgejo release action doesn't generate notes.

Checks

  • The workflow file parses as YAML. The manual path can only be exercised once this is on the default branch (dispatch runs the default branch's workflow); a tag push exercises the same steps as before.

🤖 Generated with Claude Code

## What this PR does Ports the GitHub fork's manual dispatch to the Forgejo workflow (`.forgejo/workflows/ci.yml`): a release build can be started from the Actions tab with a tag as input, and the tag is created on the commit the run starts from. - `workflow_dispatch` with a required `tag` input (must start with `v`). - A `RELEASE_TAG` value: the pushed tag, or the typed-in one for a manual run. The package, upload and release steps key off it instead of `forgejo.ref`. - The release step passes `sha: ${{ forgejo.sha }}`, so a manually started run tags the commit it built. Unchanged: tag pushes build and release exactly as before, and **releases stay drafts** (Kestrel downloads from them, so they're published by hand). The GitHub fork's automatic publishing with generated notes isn't ported: the Forgejo release action doesn't generate notes. ## Checks - The workflow file parses as YAML. The manual path can only be exercised once this is on the default branch (dispatch runs the default branch's workflow); a tag push exercises the same steps as before. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Port the GitHub fork's manual dispatch to the Forgejo workflow: a run
started from the Actions tab takes the release tag as input and creates
it on the commit it runs from. Tag pushes work as before, and releases
stay drafts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aluminum-ice deleted branch ci-manual-dispatch 2026-10-31 02:35:15 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aluminum-ice/AngryOxide!3
No description provided.