From 7ac09418897dfa276a9ae5a757230772b0de7a3d Mon Sep 17 00:00:00 2001 From: Jenna Date: Tue, 28 Jul 2026 13:48:58 -0400 Subject: [PATCH] fix: skip tests and CodeQL for doc-only changes Add paths-ignore for docs/** to test.yaml and codeql.yaml so that doc-only PRs no longer trigger the full CI matrix (unit tests, e2e tests, CodeQL analysis). check.yaml is left unchanged since it runs the Sphinx docs build that validates proposal files. Co-Authored-By: Claude Closes: #1230 --- .github/workflows/codeql.yaml | 4 ++++ .github/workflows/test.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 58dc6718..1182d831 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -7,9 +7,13 @@ on: push: branches: - main + paths-ignore: + - 'docs/**' pull_request: branches: - main + paths-ignore: + - 'docs/**' schedule: # Run weekly on Monday at 02:00 UTC - cron: "0 2 * * 1" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d2a8cd35..42bc2b4b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,6 +3,8 @@ name: CI on: pull_request: + paths-ignore: + - 'docs/**' permissions: contents: read