From 54b34bb74aacab6ae6ee7f68211b16b7cb1b50cb Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Fri, 29 Jul 2022 11:06:07 +0200 Subject: [PATCH 1/2] WIP: CI: fix broken gh-pages CI job, should only run on commits in main --- .github/workflows/pages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 3f22023e4..1d1508526 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -33,6 +33,7 @@ on: pull_request: branches: + # This should not run on PRs, we only need the preview one there - "**" # Workflow jobs: From 56ac3e6c968194d39c8b5ccbdec8394795c539f5 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Fri, 29 Jul 2022 11:15:27 +0200 Subject: [PATCH 2/2] CI: don't run "publish" job for pull requests Closes gh-466 --- .github/workflows/pages.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 1d1508526..ffebdf3c2 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -31,11 +31,6 @@ on: branches: - main - pull_request: - branches: - # This should not run on PRs, we only need the preview one there - - "**" - # Workflow jobs: jobs: