use paths instead of paths-ignore

This commit is contained in:
Twisha Bansal
2026-02-19 12:05:39 +05:30
parent 8ca70ae481
commit 7ffcb508e3

View File

@@ -17,17 +17,19 @@ on:
push:
branches:
- "main"
paths-ignore:
- "docs/**"
- "**.md"
- ".github/**"
- "!.github/workflows/tests.yaml"
paths:
- "**"
- "!docs/**"
- "!**.md"
- "!.github/**"
- ".github/workflows/tests.yaml"
pull_request:
paths-ignore:
- "docs/**"
- "**.md"
- ".github/**"
- "!.github/workflows/tests.yaml"
paths:
- "**"
- "!docs/**"
- "!**.md"
- "!.github/**"
- ".github/workflows/tests.yaml"
pull_request_target:
types: [labeled]