openclaw/scripts/github
Dallin Romney cf194419c3
ci(proof): skip real-behavior-proof gate for private maintainers (#83418)
* ci(proof): trust maintainer label for private org members

Private organization memberships report author_association=CONTRIBUTOR
on PRs, so the real-behavior-proof gate currently demands proof from
maintainers whose membership is private. The labeler workflow already
applies the 'maintainer' label via the team-membership API (which sees
private members), so treat that label as an equivalent privileged
signal in evaluateRealBehaviorProof.

* ci(proof): drop noisy comments

* ci(proof): check maintainer team membership via GitHub App token

Replace the label-based private-maintainer skip with a direct
getMembershipForUserInOrg call using a minted GitHub App token, mirroring
the pattern labeler.yml already uses for the same lookup. Removes the
race against the labeler workflow and the implicit dependency on the
'maintainer' label having landed first.

The App-token steps are continue-on-error so the gate still runs (using
the existing author_association path) when the App key secrets are
absent or both mints fail.

* ci(proof): narrow App token to members:read

ClawSweeper review #83418: actions/create-github-app-token defaults to
the full installation permission set, but the proof gate only needs the
org-members read scope used by teams.getMembershipForUserInOrg. Set
permission-members: read on both the primary and fallback mint steps.

* docs(changelog): private maintainers skip the real-behavior-proof gate
2026-05-18 09:22:59 -07:00
..
barnacle-auto-response.mjs fix: prevent barnacle vetoing clawsweeper proof 2026-05-15 22:25:29 -05:00
real-behavior-proof-check.mjs ci(proof): skip real-behavior-proof gate for private maintainers (#83418) 2026-05-18 09:22:59 -07:00
real-behavior-proof-policy.mjs ci(proof): skip real-behavior-proof gate for private maintainers (#83418) 2026-05-18 09:22:59 -07:00
resolve-openclaw-ref.sh ci: speed up full release validation 2026-04-28 09:02:57 +01:00
run-openclaw-cross-os-release-checks.sh ci(release): normalize Windows loader npm paths 2026-05-10 02:14:00 +01:00