From a82cd8eaa46f7e3718427fd77c758905d3d784cf Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Tue, 3 Feb 2026 19:03:27 -0700 Subject: [PATCH] ci: skip most CI checks if title contains citest skip [citest_skip] When we submit a PR for a CI update or docs, we do not want to start CI checking for ansible-lint, qemu, etc. When we are doing CI updates to 30 or more roles, this fires off a lot of unnecessary tests, which sometimes causes the linux-system-roles org in github to be throttled. When submitting a PR that can skip ci, use "[citest_skip]" in the PR title. Signed-off-by: Rich Megginson --- .github/workflows/codespell.yml | 3 +-- .github/workflows/woke.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index cc35f2e..764bd71 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -8,8 +8,7 @@ permissions: jobs: codespell: if: | - !((github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) || - (github.event_name == 'push' && contains(github.event.head_commit.message, '[citest_skip]'))) + !(github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) name: Check for spelling errors runs-on: ubuntu-latest steps: diff --git a/.github/workflows/woke.yml b/.github/workflows/woke.yml index 4670ea1..471e7b4 100644 --- a/.github/workflows/woke.yml +++ b/.github/workflows/woke.yml @@ -6,8 +6,7 @@ on: # yamllint disable-line rule:truthy jobs: woke: if: | - !((github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) || - (github.event_name == 'push' && contains(github.event.head_commit.message, '[citest_skip]'))) + !(github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) name: Detect non-inclusive language runs-on: ubuntu-latest steps: