Skip to content

ci: trigger go release pipeline on release tag push#166

Merged
JingsongLi merged 1 commit intoapache:mainfrom
luoyuxia:trigger-go-release
Mar 31, 2026
Merged

ci: trigger go release pipeline on release tag push#166
JingsongLi merged 1 commit intoapache:mainfrom
luoyuxia:trigger-go-release

Conversation

@luoyuxia
Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #165

Enable Go binding release pipeline to run automatically on version tags, while preserving manual release capability.

Brief change log

  • Update .github/workflows/release-go-binding.yml trigger from release/rc branches to version-like tags:
    • on.push.tags: ["v*"]
  • Keep workflow_dispatch as a manual fallback path.
  • Adjust validation logic for non-dispatch events:
    • derive version from pushed tag name (github.ref_name)
    • derive source_ref from github.sha
  • Make checkout ref safe for both trigger types:
    • ref: ${{ inputs.source_ref || github.sha }}
  • Keep existing release validation and artifact publishing flow unchanged.

Tests

Already verify it in my own fork.

API and Format

Documentation

@XiaoHongbo-Hope
Copy link
Copy Markdown
Contributor

+1

@luoyuxia luoyuxia force-pushed the trigger-go-release branch from f774cb0 to 297e316 Compare March 30, 2026 23:23
@JingsongLi JingsongLi merged commit 3445cd4 into apache:main Mar 31, 2026
8 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.

trigger go release pipeline when push to release(rc) branch

3 participants