From b7f994a856d009e6d924fec974b1a718349ea651 Mon Sep 17 00:00:00 2001 From: ekwuno Date: Thu, 10 Sep 2026 16:04:27 +0100 Subject: [PATCH] Run the required checks on every pull request Both checks are required by branch protection on main, but path filters skipped them on pull requests that touched only docs, leaving those PRs blocked with no checks reported. Both workflows finish in seconds when nothing relevant changed, so run them unconditionally. --- .github/workflows/audit-examples.yml | 9 +++------ .github/workflows/validate-examples.yml | 8 ++------ 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/audit-examples.yml b/.github/workflows/audit-examples.yml index 0d20a39..3f480c0 100644 --- a/.github/workflows/audit-examples.yml +++ b/.github/workflows/audit-examples.yml @@ -12,14 +12,11 @@ name: Audit examples +# Runs on every pull request, not just ones that touch examples, because it +# is a required check on main. When nothing relevant changed it finishes in +# seconds with "No example folders changed". on: pull_request: - paths: - - "examples/**" - - "catalog/**" - - "scripts/**" - - ".arcane-auditor/**" - - ".github/workflows/audit-examples.yml" workflow_dispatch: inputs: dirs: diff --git a/.github/workflows/validate-examples.yml b/.github/workflows/validate-examples.yml index ab06c57..277f020 100644 --- a/.github/workflows/validate-examples.yml +++ b/.github/workflows/validate-examples.yml @@ -1,13 +1,9 @@ name: Validate examples +# Runs on every pull request because it is a required check on main. It +# takes a few seconds, so there is no reason to skip it. on: pull_request: - paths: - - "catalog/**" - - "examples/**" - - "scripts/**" - - "hub.config.json" - - "README.md" jobs: validate: