From 447da1dc125ae9f7c0070f5c2083afcefdb25440 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 | 2 +- .github/workflows/test-benchmark-script.yml | 2 +- .github/workflows/test-benchmarks.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-webpage.yml b/.github/workflows/check-webpage.yml index d6b60be..dc88ad4 100644 --- a/.github/workflows/check-webpage.yml +++ b/.github/workflows/check-webpage.yml @@ -1,7 +1,7 @@ name: Check Open Catalog Web on: - push + pull-request: jobs: build: diff --git a/.github/workflows/test-benchmark-script.yml b/.github/workflows/test-benchmark-script.yml index 0472df0..a48aff3 100644 --- a/.github/workflows/test-benchmark-script.yml +++ b/.github/workflows/test-benchmark-script.yml @@ -1,7 +1,7 @@ # IMPORTANT NOTE: The results of these benchmarks are not representative. This # 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..a2bf05d 100644 --- a/.github/workflows/test-benchmarks.yml +++ b/.github/workflows/test-benchmarks.yml @@ -2,7 +2,7 @@ # is simply a smoke test to check everything compiles and runs. on: - push: + pull-request: jobs: compile-and-run: