diff --git a/.github/workflows/doc-quality.yml b/.github/workflows/doc-quality.yml index 902f166..792a882 100644 --- a/.github/workflows/doc-quality.yml +++ b/.github/workflows/doc-quality.yml @@ -1,18 +1,12 @@ name: Doc Quality on: + # No path filter: markdownlint + lychee are branch-protection-REQUIRED, so they + # must run and report on every PR (a skipped required check blocks the PR). pull_request: - paths: - - '**/*.md' - - '.markdownlint-cli2.jsonc' - - '.vale.ini' - - '.vale/**' - - 'lychee.toml' - - '.github/workflows/doc-quality.yml' + branches: [main] push: branches: [main] - paths: - - '**/*.md' permissions: contents: read diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0a16307..f90b49f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,17 +10,12 @@ name: Lint (YAML + Actions) # the policy lives at the root); actionlint uses its built-in rule set. on: + # No path filter: these are branch-protection-REQUIRED checks, so they must run + # and report on every PR (a skipped required check blocks the PR forever). pull_request: - paths: - - '**/*.yml' - - '**/*.yaml' - - '.yamllint' - - '.github/workflows/lint.yml' + branches: [main] push: branches: [main] - paths: - - '**/*.yml' - - '**/*.yaml' permissions: contents: read