Skip to content

ci: trusted-bot gates PASS as no-op instead of SKIP (Closes #1031) - #1081

Merged
gHashTag merged 1 commit into
masterfrom
ci/bot-gate-pass-not-skip
Jun 14, 2026
Merged

ci: trusted-bot gates PASS as no-op instead of SKIP (Closes #1031)#1081
gHashTag merged 1 commit into
masterfrom
ci/bot-gate-pass-not-skip

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Problem

The ruleset t27-master-protection marks check-now-freshness, validate, check, check-linked-issue as REQUIRED. The prior author-guard fix (#1080) made the gate jobs SKIP for Dependabot, but a skipped required check never satisfies branch protection — GitHub reports N of N required status checks are expected and the merge stays blocked even with admin. Dep PRs #1043 / #1047 / #1048 / #1057 / #1058 (and #1045) remained unmergeable.

Fix

Replace the job-level if: bot-skip with a job-level env.IS_BOT flag (true when github.actor or github.event.pull_request.user.login is a trusted bot). The gate job now always RUNS: a leading no-op step passes for bots, and every substantive step is guarded with if: env.IS_BOT != 'true'. The required context therefore reports success (not skipped) for bot PRs, satisfying the ruleset, while human PRs remain fully gated by Constitutional Law L1. push behavior of now-sync-gate is unchanged.

Anchor: phi^2 + phi^-2 = 3

Closes #1031

Required checks (check-now-freshness, check-linked-issue, etc.) must
report success to satisfy branch protection. A skipped required check
leaves the requirement unmet, blocking Dependabot PRs even with admin.
Replace the job-level bot-skip with an IS_BOT env flag; the job always
runs, a no-op step passes for bots, and substantive steps are guarded
with if: env.IS_BOT != 'true'. Human PRs remain fully gated.

Closes #1031
@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-06-14 12:56:31 UTC

Summary

Status Count
Total Open PRs 9
PRs with Failing Checks 8
PRs with All Checks Green 1
READY 0
FAILING 8
PENDING 0

@gHashTag
gHashTag merged commit a15b786 into master Jun 14, 2026
17 checks passed
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.

Solana keypair leak: history rewritten on master + 3 open PRs; rotate keys + close stale branches

1 participant