From 7e82ad80c1c3b27378f720cff22e8254c623f7a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 25 Sep 2024 22:31:58 +0200 Subject: [PATCH] Don't run ci and valgrind for non-code changes when pushing to master --- .github/workflows/ci.yml | 10 +++++++++- .github/workflows/valgrind.yml | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc1e548..d52652a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,21 @@ on: - '**' - '!.gitignore' - '!LICENSE' - - '!TODO' + - '!README.md' - '!docs/**' - '!examples/**' - '.github/workflows/ci.yml' push: branches: - master + paths: + - '**' + - '!.gitignore' + - '!LICENSE' + - '!README.md' + - '!docs/**' + - '!examples/**' + - '.github/workflows/ci.yml' jobs: codegen: diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index f03aeb7..8f26d6a 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -4,6 +4,14 @@ on: push: branches: - master + paths: + - '**' + - '!.gitignore' + - '!LICENSE' + - '!README.md' + - '!docs/**' + - '!examples/**' + - '.github/workflows/valgrind.yml' workflow_dispatch: jobs: