Replies: 2 comments
-
If you want both includes and excludes avoid using I expect that the following example works. on:
push:
paths:
- '**'
- '!sub-project/**'
- 'sub-project/docs/**' EDIT Modified yaml example to fit description of OP. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hi!
I was trying to use
paths-ignore
to make it not run for a path, but to run for one sub-path and everything else.Using a similar example to the one in the documentation:
I have tried this and the opposite:
But it does not run when I do a change for sub-project/docs/readme.md for example
Is there a way I can make this work?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions