From c0ec64f06cef2fbb665de3899e51ff8816f7f65a Mon Sep 17 00:00:00 2001 From: J / Jacob Babich Date: Fri, 4 Oct 2024 19:22:16 -0400 Subject: [PATCH] ci: prevent irrelevant file changes from triggering the check, build, and test workflow --- .github/workflows/check-and-build-and-test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/check-and-build-and-test.yml b/.github/workflows/check-and-build-and-test.yml index 8a92289..631e68d 100644 --- a/.github/workflows/check-and-build-and-test.yml +++ b/.github/workflows/check-and-build-and-test.yml @@ -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"]