Skip to content

pass ref_name as variable#116

Merged
rkoopmans merged 2 commits into
tinify:masterfrom
wcreateweb:workflow-release-pass-github-refname
Jun 30, 2026
Merged

pass ref_name as variable#116
rkoopmans merged 2 commits into
tinify:masterfrom
wcreateweb:workflow-release-pass-github-refname

Conversation

@tijmenbruggeman

Copy link
Copy Markdown
Collaborator

Environment Variable GITHUB_REF was not avaiable when bin/check-version was run.

The GITHUB_REF should have been set:
https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#release

Reports indicating GITHUB_REF was empty:
https://github.com/orgs/community/discussions/64528

According to https://github.com/orgs/community/discussions/64528#discussioncomment-12978855, for release events, github.event.release.tag_name should contain the release tag and github.ref_name might not always provide the expected value.

@rkoopmans rkoopmans merged commit 1d03d2e into tinify:master Jun 30, 2026
9 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