Reusable workfow : use current branch #25714
-
Hi, I’m working with reusable workflows, and basically I’ve got a
My issue is when I’m working on the workflow itself, I create a branch and then I have to :
Is there a way to be generic and say in Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
There is, since Tuesday:
GitHub Actions: Reusable workflows can be referenced locally |GitHub Actions: Reusable workflows can be referenced locally Unfortunately there seems to be a bug when using that new syntax with the
Can confirm your issues from our end @bcowdery, but without GitHub Enterprise so that’s probably irrelevant for this error. This is the workflow call: call-setup: uses: ./.github/workflows/<workflow>.yml |
Beta Was this translation helpful? Give feedback.
-
Thank you for your fast answer ! Will it be an issue when merging into master as I use a Pull Request mechanism from my development branch ? |
Beta Was this translation helpful? Give feedback.
-
Take a look at the discussion in that other thread, from what it says there calling workflows with |
Beta Was this translation helpful? Give feedback.
There is, since Tuesday:
GitHub Actions: Reusable workflows can be referenced locally |
GitHub Actions: Reusable workflows can be referenced locally
Unfortunately there seems to be a bug when using that new syntax with the
pull_request
trigger, but I’ve successfully used it withpush
.