From 41aacbc819bbbf11a3041812e563f597399fe12f Mon Sep 17 00:00:00 2001 From: Saransh Chopra Date: Wed, 18 Sep 2024 14:00:14 +0100 Subject: [PATCH 1/3] gh-204: examples run twice on PRs Minor fix. The examples run twice on PRs right now as `branches` is not specified under `on`. Refs: #204 --- .github/workflows/examples.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 0ce03ffa..32d9780b 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -4,9 +4,13 @@ on: push: paths: - "glass/**" + branches: + - main pull_request: paths: - "glass/**" + branches: + - main concurrency: # Skip intermediate builds: always. From 36e0cad623206ae9bb09bcb67134c246990c8e25 Mon Sep 17 00:00:00 2001 From: Saransh Chopra Date: Wed, 18 Sep 2024 16:02:06 +0100 Subject: [PATCH 2/3] test examples on PRs to non-main branches too Co-authored-by: Patrick J. Roddy --- .github/workflows/examples.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 32d9780b..fd7ab91e 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -9,8 +9,6 @@ on: pull_request: paths: - "glass/**" - branches: - - main concurrency: # Skip intermediate builds: always. From ec8487ed5b75fbadc9f2bb7d8f242f4fc4a4f945 Mon Sep 17 00:00:00 2001 From: Saransh Chopra Date: Wed, 18 Sep 2024 16:02:40 +0100 Subject: [PATCH 3/3] run tests on PRs to non-main branches too --- .github/workflows/test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6d628ffe..9319cbb2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,8 +5,6 @@ on: branches: - main pull_request: - branches: - - main concurrency: # Skip intermediate builds: always.