Skip to content

Commit 2b94e27

Browse files
committed
[no-ci] CI: test restricted-paths-review-gate via pull_request
Temporarily switch the new workflow to pull_request so PR #1896 can exercise the label-driven pass/fail behavior before the workflow exists on the base branch. This lets us validate the gate logic pre-merge and then switch back to pull_request_target for the final rollout. Test plan: 1. Temporarily switch the new workflow to `pull_request`. 2. Push to PR `#1896`. 3. Add the label and confirm the check goes red. 4. Remove the label and confirm the check goes green. 5. Switch it back to `pull_request_target` before merging. Made-with: Cursor
1 parent c64e0d6 commit 2b94e27

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/restricted-paths-review-gate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
name: "CI: Restricted Paths Review Gate"
55

66
on:
7-
# Keep this separate from pr-metadata-check.yml so only the
8-
# Needs-Restricted-Paths-Review policy becomes merge-blocking.
9-
pull_request_target:
7+
# Temporary for PR-level testing before this workflow exists on the base
8+
# branch. Switch back to pull_request_target before merging.
9+
pull_request:
1010
types:
1111
- opened
1212
- synchronize

0 commit comments

Comments
 (0)