Use local workflow with relative path #25799
-
Hi, Is it possible to re-use a local workflow in the same repository using a relative path?
But it complains about the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
What happens if you add the branch name the main workflow is on as tag, like |
Beta Was this translation helpful? Give feedback.
-
That works, but then I’m forced to use the specific branch where I’m developing the workflow, and remember to change it to |
Beta Was this translation helpful? Give feedback.
-
Not sure. It cannot be dynamic because of security reasons but maybe |
Beta Was this translation helpful? Give feedback.
-
In case someone’s interested, I ended up using a local action instead of local workflow. The only disadvantage is that you need a previous |
Beta Was this translation helpful? Give feedback.
In case someone’s interested, I ended up using a local action instead of local workflow. The only disadvantage is that you need a previous
checkout
step before you can use the local action.