-
Notifications
You must be signed in to change notification settings - Fork 9
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
Action wouldn't work in workflow triggered by pull request #6
Comments
Hi @marcinwfilewave, sorry for the long silence! I seem to have completely missed this issue being filed. I'm not sure off the top of my head why this would fail for pull requests but not other workflow triggers. Can you tell me more about why you want to run this action for PRs? I generally wouldn't want to allow anyone opening a pull request to my repo to be able to create tags every time they push a commit to their branch, but maybe you have a development flow in mind that I hadn't considered 🙂 |
I just ran into this myself -
(since no other branch has this new workflow). But that's not really something I need -
|
BTW,
didn't work either, I still got the same error. I've managed to solve it by doing this:
(I guess this GH action assume it will only be ran on |
FYI. This issue still exists and is something I hit today. Will try and post if I track down root cause. |
Cause of the issue is this line below which is set to something like
Looks like this needs to be updated to be |
Hi, we've came across this action recently and it does exactly what we need. Thank you for sharing.
That being said there is one scenario in which the action wouldn't work. Here's how you could reproduce it. Please disregard version-command that doesn't make sense, it's just for testing purposes.
.github/workflows/tag.yml
This workflow always result in failure.
Would you have any advice how to fix that?
The text was updated successfully, but these errors were encountered: