Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GitHub] Use github.ref_name instead of github.ref #110

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

BitcoinMitchell
Copy link
Collaborator

Description

github.ref : The fully-formed ref of the branch or tag that triggered the workflow run. The ref given is fully-formed, meaning that for branches the format is refs/heads/<branch_name>, for pull requests it is refs/pull/<pr_number>/merge, and for tags it is refs/tags/<tag_name>.

github.ref_name: The short ref name of the branch or tag that triggered the workflow run. This value matches the branch or tag name shown on GitHub.

@BitcoinMitchell BitcoinMitchell enabled auto-merge (rebase) February 28, 2024 21:17
@BitcoinMitchell BitcoinMitchell self-assigned this Feb 28, 2024
Copy link
Contributor

@ndeet ndeet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch 👏

@BitcoinMitchell BitcoinMitchell merged commit 93a32d7 into 6.x Feb 28, 2024
4 checks passed
@BitcoinMitchell BitcoinMitchell deleted the use-github-ref_name branch February 28, 2024 21:18
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