-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
underscore (_) in branch name is replaced with dash (-) #62
Comments
Make sense for |
I could send a PR if you point me to which lines to update and what specs + doc updates you would need |
The rules are in this section : https://github.com/rlespinasse/github-slug-action#overview |
So I will at minimum be updating this test case: github-slug-action/__tests__/slugref.test.ts Lines 38 to 41 in 6c93fcb
Are we concerned about changing this and possibly breaking users' workflows? Or you think if they're specifying the action version properly we could rely on semantic versioning and release a major version and be okay? |
I see this change as a new feature, not a breaking change. |
🎉 This issue has been resolved in version 3.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Describe the bug
see issue title
To Reproduce
print the env vars and see that the branch name has dashes instead of underscores
Expected behavior
The env var should include the actual branch name, not replace any characters.
Screenshots
![Screen Shot 2021-03-30 at 11 22 07 AM](https://user-images.githubusercontent.com/4197823/113014789-e5909f80-914a-11eb-94a2-092e33556b5a.png)
Additional context
Thanks for the really useful package!
The text was updated successfully, but these errors were encountered: