You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address review: gate on token, real-time fork reviews, clearer docs
Make board-sync robust and fully real-time across origin and fork PRs, and
address Shannon's review comments:
- Gate the privileged github-script steps on HAS_TOKEN so a run without the
bot token (a fork PR's head-context event on a public repo, or an
unconfigured repo) skips cleanly instead of hard-failing github-script. This
fixes the failing board-sync check.
- Add a workflow_run dispatch branch and a fork-review relay: pull_request_target
and check_suite stay privileged for forks; origin reviews run directly; fork
reviews route through pr-review-fork-bridge.yml (unprivileged) ->
pr-review-fork-apply.yml (workflow_run, privileged) which resolves the PR by
head SHA. No checkout anywhere, so the privileged path is not a pwn-request
vector.
- Replace the two crowded state diagrams with one decision flowchart (status is
recomputed each event, not transitioned, so a decision tree reads far better).
- Note the board is visible to org members (committers) only, in CONTRIBUTING.md
and the maintainer guide.
- Clarify that Internal (write-access) authors identify and request their own
reviewer.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -286,7 +286,7 @@ Once a PR is created against `shader-slang/slang:master`, the PR will be merged
286
286
287
287
When the conditions above are all met, you will have a chance to rewrite the commit message. Since the Slang repo uses the "squash" strategy for merging, multiple commits in your PR will become one commit. By default, GitHub will concatenate all of the commit messages sequentially, but often it is not readable. Please rewrite the final commit message in a way that people can easily understand what the purpose of the commit is.
288
288
289
-
> **Maintainers:** PRs are tracked on a shared project board whose status is updated automatically as your PR progresses. If you are assigned to shepherd or review PRs, see [The Slang PR Tracking board](docs/maintainers/pr-review-board.md).
289
+
> **Committers:** PRs are tracked on a shared project board whose status is updated automatically as a PR progresses. The board is an org project visible only to `shader-slang` org members, so outside contributors won't see it — that's expected. If you are a committer assigned to shepherd or review PRs, see [The Slang PR Tracking board](docs/maintainers/pr-review-board.md).
290
290
291
291
There are two cases where the workflow may fail for reasons that are not directly related to the change:
0 commit comments