소스 검색

fix(ci): validate paths filter misses .github/bump-tracking.json (#5256)

A PR that only edits .github/bump-tracking.json matched none of the
validate workflow's pull_request paths, so the required check sat
"Expected - Waiting for status to be reported" forever and the PR could
never merge. A workflow_dispatch run on the PR head does not satisfy the
gate either, since the merge box only counts pull_request check suites.

Same class already fixed in this file for .github/workflows/**,
.github/policy/**, and plugin README/asset paths.
Bryan Thompson 3 주 전
부모
커밋
ff9f97e6be
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      .github/workflows/validate-plugins.yml

+ 6 - 0
.github/workflows/validate-plugins.yml

@@ -19,6 +19,12 @@ on:
       # pull_request and the required check would sit "Expected" forever (a dispatch
       # check run isn't associated with the PR, so it can't satisfy the gate either).
       - '.github/policy/**'
+      # Same again for the bump-tracking ledger: a PR that only edits
+      # .github/bump-tracking.json (e.g. enrolling slugs in releases-only
+      # tracking) matches nothing above, so the required check sits
+      # "Expected" forever and even a dispatched validate run on the PR
+      # head can't satisfy the gate (it only counts pull_request suites).
+      - '.github/bump-tracking.json'
       # And once more for a plugin's own docs: a PR that only edits a README or
       # adds a screenshot matches nothing above, so the required check never
       # reports and the PR can't be merged. Spelled out per level because `*`