Ignore non-code files in CI workflow triggers
Updated the GitHub Actions workflow to ignore changes to documentation, images, and other non-code files when triggering on push and pull_request events. This reduces unnecessary CI runs for changes that do not affect the codebase.
This commit is contained in:
1 parent
8b2402b14e
commit
94636cae36
1 file changed
+18
@@ -5,8 +5,26 @@ permissions:
|
||||
on:
|
||||
push:
|
||||
branches: [main, develop]
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "docs/**"
|
||||
- "LICENSE"
|
||||
- ".gitignore"
|
||||
- ".editorconfig"
|
||||
- "images/**"
|
||||
- "screenshots/**"
|
||||
- ".vscode/**"
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "docs/**"
|
||||
- "LICENSE"
|
||||
- ".gitignore"
|
||||
- ".editorconfig"
|
||||
- "images/**"
|
||||
- "screenshots/**"
|
||||
- ".vscode/**"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in new issue
Block a user