-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
ref of "HEAD" does not work #969
Comments
Same issue happens when using a commit SHA despite the fact that the README.md specifies
|
For "HEAD", seems like I'd need to make the changes here: Lines 33 to 60 in b4ffde6
For the sha, it seems like the logic that handles that is here: Lines 63 to 64 in b4ffde6
cc @ericsciple; would i need to special-case "HEAD" to look up |
cc @cory-miller? |
Seems the HEAD file doesn't exist in the following hierarchy when using the action: ['./.git/refs/remotes/origin/feat', './.git/refs/remotes/origin/fix', './.git/refs/remotes/origin/main'] I would expect a file called |
cc @jww3? |
Occasionally I'm reminded of this. Today is one of those occasions. It would be nice if HEAD was included in the GHA environment and showed up when running |
Maybe the best strategy here would be to send in a PR and see what they have to say? |
Related to #910, I'd like to be able to default the
ref
toHEAD
so i don't have to hardcodemain
ormaster
or whatever in a reusable workflow, but instead i get:Determining the checkout info /usr/bin/git branch --list --remote origin/HEAD /usr/bin/git tag --list HEAD Error: A branch or tag with the name 'HEAD' could not be found
The text was updated successfully, but these errors were encountered: