From c6ef9effb651984a1a56ae19be5288300283bfa6 Mon Sep 17 00:00:00 2001 From: Attila Kovacs Date: Tue, 17 Sep 2024 11:56:12 +0200 Subject: [PATCH] Trigger workflows on pull_request --- .github/workflows/build.yml | 9 +++++++++ .github/workflows/check.yml | 8 ++++++++ .github/workflows/dox.yml | 11 ++++++++++- .github/workflows/example.yml | 5 +++++ .github/workflows/test.yml | 11 +++++++++++ 5 files changed, 43 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46814fb1..4641c757 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,15 @@ on: - '*.mk' - '.github/workflows/build.yml' + pull_request: + paths: + - 'src/**' + - 'include/**' + - 'tools/src/**' + - 'Makefile' + - '*.mk' + - '.github/workflows/build.yml' + jobs: build: diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 4aa132c4..03c87df5 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -8,6 +8,14 @@ on: - 'Makefile' - '*.mk' - '.github/workflows/check.yml' + + pull_request: + paths: + - 'src/**' + - 'include/**' + - 'Makefile' + - '*.mk' + - '.github/workflows/check.yml' jobs: diff --git a/.github/workflows/dox.yml b/.github/workflows/dox.yml index 2156d1fc..8885c568 100644 --- a/.github/workflows/dox.yml +++ b/.github/workflows/dox.yml @@ -13,7 +13,16 @@ on: - 'Doxyfile' - '*.md' - '.github/workflows/dox.yml' - + + pull_request: + paths: + - 'src/**' + - 'include/**' + - 'css/**' + - 'resources/**' + - 'Doxyfile' + - '*.md' + - '.github/workflows/dox.yml' jobs: apidocs: diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 818e70e3..abfae741 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -6,6 +6,11 @@ on: - 'examples/**' - '.github/workflows/example.yml' + pull_request: + paths: + - 'examples/**' + - '.github/workflows/example.yml' + jobs: build: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 832d8833..f6e85a43 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,17 @@ on: - 'test/Makefile' - '.github/workflows/test.yml' + pull_request: + paths: + - 'src/**' + - 'include/**' + - 'test/src/**' + - 'test/reference/**' + - 'Makefile' + - '*.mk' + - 'test/Makefile' + - '.github/workflows/test.yml' + jobs: test: