From 2154137eb4de4835bbb50dcf6ee3ef5bc0e91e26 Mon Sep 17 00:00:00 2001 From: Mike Langmayr <1809691+mikelangmayr@users.noreply.github.com> Date: Thu, 17 Sep 2026 12:56:10 -0700 Subject: [PATCH] Run CI on every pull request, not only those targeting main --- .github/workflows/docs.yml | 11 +++++------ .github/workflows/tests.yml | 1 - 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 88e2f1c..ec5f114 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,7 +10,6 @@ on: - "tox.ini" - ".github/workflows/docs.yml" pull_request: - branches: [main] paths: - "docs/**" - "libby/**" @@ -23,11 +22,6 @@ permissions: pages: write id-token: write -# Only one deploy at a time; never cancel one that's already publishing. -concurrency: - group: "pages" - cancel-in-progress: false - jobs: build: runs-on: ubuntu-latest @@ -53,6 +47,11 @@ jobs: # Only publish from pushes to main, not from PRs. if: github.event_name == 'push' && github.ref == 'refs/heads/main' needs: build + # Scoped to this job rather than the workflow: only one deploy at a time, + # never cancelling one already publishing, while PR builds stay parallel + concurrency: + group: "pages" + cancel-in-progress: false runs-on: ubuntu-latest environment: name: github-pages diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4961010..181291a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,6 @@ on: - "tox.ini" - ".github/workflows/tests.yml" pull_request: - branches: [main] paths: - "libby/**" - "tests/**"