Skip to content

ci: make the trust gate a job that says why it declined - #18

Merged
iamrraj merged 1 commit into
mainfrom
ci/observable-gate
Aug 3, 2026
Merged

ci: make the trust gate a job that says why it declined#18
iamrraj merged 1 commit into
mainfrom
ci/observable-gate

Conversation

@iamrraj

@iamrraj iamrraj commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Three issues opened by a MEMBER produced three runs that all came back skipped. The gate was a one-line if: on the work itself, so there was nothing to look at: a correctly-declined run and a broken expression look identical β€” an empty log and nothing happening.

The gate is now its own job. It prints the event, the author association and the decision as a ::notice::, so a skipped run explains itself.

The rule is unchanged:

  • pull_request β€” same-repository only (a fork PR gets no secrets anyway; failing on every drive-by PR is just noise)
  • comments and issues β€” OWNER, MEMBER or COLLABORATOR only

Why this matters beyond debugging: on a public repo this gate is the whole defence β€” there is no author check anywhere in the agent. A gate that can silently fail open would be worse than one that fails closed, and until now neither state was visible.

A MEMBER opened three issues and all three runs came back "skipped".
As a one-line `if:` on the work itself there is no way to tell a
correctly-declined run from a broken expression β€” the log is empty
either way, and the only evidence is that nothing happened.

The gate is now its own job. It prints the event, the author
association, and the decision as a notice, so a skipped run explains
itself. The rule is unchanged: same-repository pull requests, and
comments or issues from OWNER, MEMBER or COLLABORATOR.
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

πŸ” ShipIT Forge reviewed this PR β€” πŸ’¬ commented (no blocking issues)

0 finding(s) (0 security). See the review above for inline details and suggested fixes.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ShipIT Forge review

βœ… No blocking issues found. I reviewed the changed files and ran:

  • πŸ›‘οΈ Security checks β€” SSRF, injection (SQL/command/template), broken auth/authz, hardcoded secrets, unsafe deserialization, path traversal, weak crypto.
  • πŸ”§ Code review β€” correctness, error handling, missing tests, clarity.

Nothing to flag. This is a comment, not an approval β€” ShipIT Forge never approves PRs; a human reviewer should approve and merge.

@iamrraj
iamrraj merged commit 1bcf3ec into main Aug 3, 2026
3 checks passed
@iamrraj
iamrraj deleted the ci/observable-gate branch August 3, 2026 13:20
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