Skip to content

ci(review): let core authors' reviews read the team issues a PR closes - #7405

Merged
otavio merged 1 commit into
masterfrom
ci/review-core-reads-team-issues
Oct 9, 2026
Merged

otavio merged 1 commit into
masterfrom
ci/review-core-reads-team-issues

Conversation

@otavio

@otavio otavio commented Oct 9, 2026

Copy link
Copy Markdown
Member

The review mints its issue token only for shellhub-io/admin authors. A core member's PR that closes a team issue falls back to GITHUB_TOKEN, whose closingIssuesReferences drops the team issue, so the Spec axis reports it unreadable and skips. That happened on #7375 (closes shellhub-io/team#298).

The admin-only gate keeps private team issue text out of public review comments on outsiders' fork PRs. Core members already have triage on shellhub-io/team, so the token shows them nothing new. The gate now uses the same admin-or-core check that lets an author request a /review.

Cloud needs no change: it already mints the token for every author.

The workflow runs from master, so it can only be checked after merge: a fresh /review on #7375 should list team#298 and run the Spec axis.

The issue token went to shellhub-io/admin authors only. A core
member's PR that closes a team issue got the GITHUB_TOKEN fallback,
whose closingIssuesReferences drops the team issue, so the Spec axis
reported it unreadable and skipped (shellhub#7375, closing team#298).

The admin-only gate keeps private team issue text out of public review
comments on outsiders' fork PRs. Core members already have triage on
shellhub-io/team, so the token shows them nothing new. Gate it on the
same admin-or-core membership that lets an author request a /review.
@otavio
otavio requested a review from a team as a code owner October 9, 2026 00:55
@otavio
otavio enabled auto-merge (rebase) October 9, 2026 00:55
@otavio
otavio merged commit ba2ab0e into master Oct 9, 2026
22 checks passed
@otavio
otavio deleted the ci/review-core-reads-team-issues branch October 9, 2026 00:55
@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Claude finished @otavio's task in 7s —— View job


Code Review Complete

The review did not run: this PR is already merged. The review procedure stops at pre-flight for closed, merged or draft PRs, so no Standards, Spec or Correctness pass ran and no inline comments were posted. This is not a clean result; the change has not been reviewed.

Per the PR description, you can only check the gate change now by commenting /review on #7375. If that review lists shellhub-io/team#298 and runs the Spec axis, the new gate works.

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