Why isn't this workflow with both on.push.paths
and on.push.tags
running?
#26821
-
We have a workflow that we want to run whenever either of the following are true:
Here is what we have so far:
Opentrons/opentrons/blob/26f8ea431ca75881c71a24d887b85daae1d4738c/.github/workflows/docs-build.yaml#L7-L18 Unexpectedly, this does not seem to run at all when a commit modifies the designated paths but isn’t tagged with What am I missing? I expect |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Push != PR This will only run for pushes that modify something in the designated paths and are tagged as expected. |
Beta Was this translation helpful? Give feedback.
-
See the documentation:
So if you want the workflow to run for any branch in addition to the matching tags, add something like
to the the |
Beta Was this translation helpful? Give feedback.
See the documentation:
So if you want the workflow to run for any branch in addition to the matching tags, add something like
to the the
push
conditions. Note that either way the workflow will only run if the path filter matches.