ci: prevent irrelevant file changes from triggering the check, build, and test workflow

This commit is contained in:
J / Jacob Babich
2024-10-04 19:22:16 -04:00
parent 70e20e2e04
commit c0ec64f06c

View File

@@ -3,6 +3,14 @@ name: Check, build, and test
on:
push:
branches: ["main"]
# This workflow is definitely expensive for GitHub,
# so let's not let files that won't affect the project's ability to build and test trigger it
paths-ignore:
- .github/**
- **/.gitignore
- **/CHANGELOG.md
- **/README.md
- **/LICENSE-*
pull_request:
branches: ["main"]