Skip to content

Commit 7d20eb5

Browse files
authored
build: run ASF allowlist check on every PR so the required check reports (#8887)
The workflow had a paths filter (.github/**) on the pull_request trigger, so it only ran when a PR touched .github/**. Since asf-allowlist-check is a required status check in .asf.yaml, every other PR stayed in the 'Expected — waiting for status' state and could never be merged. Drop the paths filter on pull_request (mirroring apache/opennlp) so the check runs and reports a status on all PRs. The push trigger keeps its paths filter.
1 parent f94b58a commit 7d20eb5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/asf-allowlist-check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ name: ASF Allowlist Check
1717

1818
on:
1919
workflow_dispatch:
20+
# No paths filter on purpose: as a required status check (see .asf.yaml) this
21+
# job must report a status on every PR, otherwise PRs that don't touch
22+
# .github/** would stay "Expected — waiting for status" and be blocked forever.
2023
pull_request:
21-
paths:
22-
- ".github/**"
2324
push:
2425
branches: [ "master", "2.x" ]
2526
paths:

0 commit comments

Comments
 (0)