Skip to content

Excluding paths doesn't work without includes #25369

Discussion options

You must be logged in to vote

I agree that the documentation should be more clear. In practice you can work around the limitation by having a blanket include and then exclude the parts you want:

on:
  push:
    paths:
      - '**'
      - '!sub-project/docs/**'

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

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