From 79eefc0bd033cf9f5597ec52485f4ef23fd4145a Mon Sep 17 00:00:00 2001 From: Daniel Otero Date: Fri, 15 Nov 2024 09:55:02 +0100 Subject: [PATCH] Run GitHub workflow for PRs, not pushes A random push doesn't have much value to be tested --- .github/workflows/check-webpage.yml | 3 ++- .github/workflows/test-benchmark-script.yml | 1 + .github/workflows/test-benchmarks.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-webpage.yml b/.github/workflows/check-webpage.yml index d6b60be..c3cc792 100644 --- a/.github/workflows/check-webpage.yml +++ b/.github/workflows/check-webpage.yml @@ -1,7 +1,8 @@ name: Check Open Catalog Web on: - push + push: + pull-request: jobs: build: diff --git a/.github/workflows/test-benchmark-script.yml b/.github/workflows/test-benchmark-script.yml index 0472df0..10e57f8 100644 --- a/.github/workflows/test-benchmark-script.yml +++ b/.github/workflows/test-benchmark-script.yml @@ -2,6 +2,7 @@ # is simply a smoke test to check everything compiles and runs. on: push: + pull-request: jobs: # Let us run this job on Ubuntu only as it is the only image that has gcc, diff --git a/.github/workflows/test-benchmarks.yml b/.github/workflows/test-benchmarks.yml index d979366..403f411 100644 --- a/.github/workflows/test-benchmarks.yml +++ b/.github/workflows/test-benchmarks.yml @@ -3,6 +3,7 @@ on: push: + pull-request: jobs: compile-and-run: