We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the is_default is nice but we have a mix of repo's where we have the legacy master named default branch and newer repos with main.
is_default
master
main
Getting the default branches name would help with our GitHub Action workflows being shared easily.
A new value of default_name that returns a string of the name, i.e. master or main
default_name
Hardcoding leads to problems sharing out workflow files.
No response
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue, don't forget to star this project to help us reach a wider audience.
Sorry, something went wrong.
feat: add support for the default_branch output
e1eabf0
Fixes: #124
@philjones88 This should be available in the latest release
Successfully merging a pull request may close this issue.
Is this feature missing in the latest version?
Is your feature request related to a problem? Please describe.
the
is_default
is nice but we have a mix of repo's where we have the legacymaster
named default branch and newer repos withmain
.Getting the default branches name would help with our GitHub Action workflows being shared easily.
Describe the solution you'd like?
A new value of
default_name
that returns a string of the name, i.e.master
ormain
Describe alternatives you've considered?
Hardcoding leads to problems sharing out workflow files.
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: