Skip to content

build: run ASF allowlist check on every PR so the required check reports#8887

Merged
rzo1 merged 1 commit into
masterfrom
fix-asf-allowlist-run-on-all-prs
Jul 1, 2026
Merged

build: run ASF allowlist check on every PR so the required check reports#8887
rzo1 merged 1 commit into
masterfrom
fix-asf-allowlist-run-on-all-prs

Conversation

@rzo1

@rzo1 rzo1 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

The asf-allowlist-check workflow had a paths: [".github/**"] filter on its pull_request trigger, so it only ran when a PR touched .github/**.

Since asf-allowlist-check is configured as a required status check in .asf.yaml, every PR that does not touch .github/** stayed in the Expected — waiting for status state and could never be merged (mergeStateStatus: BLOCKED), even with all other builds green.

This drops the paths filter on the pull_request trigger (mirroring the working setup in apache/opennlp) so the check runs and reports a status on every PR. The push trigger keeps its paths filter since branch pushes only need re-validation when workflows change.

No functional change to what the check validates.

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.
@rzo1 rzo1 merged commit 7d20eb5 into master Jul 1, 2026
2 checks passed
@rzo1 rzo1 deleted the fix-asf-allowlist-run-on-all-prs branch July 1, 2026 11:19
@rzo1 rzo1 added this to the 3.0.0 milestone Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant