Skip to content

Add workflow_dispatch trigger to release.yml#1

Merged
Luxotick merged 5 commits intomasterfrom
copilot/run-release-yml
Feb 3, 2026
Merged

Add workflow_dispatch trigger to release.yml#1
Luxotick merged 5 commits intomasterfrom
copilot/run-release-yml

Conversation

Copy link
Contributor

Copilot AI commented Feb 3, 2026

The release workflow only triggered on tag pushes, requiring direct repository tag access. This adds manual execution via GitHub Actions UI.

Changes

  • Added workflow_dispatch trigger with version input parameter (default: v0.1.0)
  • Conditional version handling: extracts from tag ref (startsWith(github.ref, 'refs/tags/')) or workflow input
  • Automatic tag creation: creates and pushes tag when manually triggered, with existence check to prevent overwrites
  • Full history checkout: fetch-depth: 0 ensures tag validation works correctly

Usage

Manual trigger from Actions → Release → Run workflow with desired version. Workflow creates the tag, GitHub release, and builds cross-platform binaries.

Tag-based triggering (git push origin v0.1.0) remains unchanged.

Original prompt

run release.yml


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 4 commits February 3, 2026 16:16
Co-authored-by: Luxotick <76044365+Luxotick@users.noreply.github.com>
Co-authored-by: Luxotick <76044365+Luxotick@users.noreply.github.com>
Co-authored-by: Luxotick <76044365+Luxotick@users.noreply.github.com>
Co-authored-by: Luxotick <76044365+Luxotick@users.noreply.github.com>
Copilot AI changed the title [WIP] Run release.yml workflow Add workflow_dispatch trigger to release.yml Feb 3, 2026
Copilot AI requested a review from Luxotick February 3, 2026 16:20
@Luxotick Luxotick marked this pull request as ready for review February 3, 2026 16:21
@Luxotick Luxotick merged commit ea3b6ce into master Feb 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants