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: