Skip to content

Why isn't this workflow with both on.push.paths and on.push.tags running? #26821

Discussion options

You must be logged in to vote

See the documentation:

If you define only tags or only branches , the workflow won’t run for events affecting the undefined Git ref.

So if you want the workflow to run for any branch in addition to the matching tags, add something like

    branches:    
      - '**'

to the the push conditions. Note that either way the workflow will only run if the path filter matches.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants