From a853372ed508eb3c5a6c956fd4c30ece690c9799 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Tue, 20 Oct 2026 01:22:53 +0200 Subject: [PATCH] asf.yaml: drop integration_id so the Required checks ruleset applies Raw ruleset values reach the API as strings except for a fixed set of keys, so integration_id: -1 was sent as "-1" and GitHub rejected the rule ("Invalid property /rules/0"), leaving the ruleset uncreated. Without it a check may come from any source, as intended. Generated-by: Claude Opus 5 --- .asf.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index bc83dfbf5..efe048fff 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -51,15 +51,16 @@ github: - type: required_status_checks parameters: strict_required_status_checks_policy: false + # No integration_id: leaving it out means any source. .asf.yaml + # passes raw ruleset values to the API as strings except for a + # fixed set of keys, and a string integration_id is rejected. required_status_checks: # allowlist_approval.yml: an allow-list PR needs a maintainer's # approval; other PRs pass it at once. - context: approval - integration_id: -1 # verify_*_action.yml: rebuilds an allow-list PR's action and # compares it with the published one; other PRs pass it at once. - context: verify - integration_id: -1 notifications: commits: commits@infra.apache.org