Trying to test my workflow with new tags #1465
Unanswered
kristianstarkloffjedox
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to test a workflow locally in the situation that a new tag was added to any branches. When a tag is added, a private action should be triggered. So, this is my workflow yaml file:
The private action does not much as it is calling some
curlcommands. The private actions looks like this:Now, when I call
actlike thisact push --secret-file=.secrets --env-file=.env -W .github\workflows\testing-new-gh-action.yml -e tag_push.json -v --rmI see in the output ofactthese lines regarding to theif-query of the actionSome lines above I see this output:
So, this seems to be the reason why the
startsWithpart does evaluate tofalse.But some lines above I see this output:
I assume this belongs to the part where github repos are checked out.
So somehow
actseems to change the values and I don't know why.My
.envfile looks like this:And my
tag_push.jsonlooks like this:Beta Was this translation helpful? Give feedback.
All reactions