Skip to content

Commit 1bd362a

Browse files
committed
CI: integrate restricted paths guard with org membership bot
Consume explicit membership-bot labels so restricted-path PRs fail closed on bot errors or timeouts, short-circuit on trusted outcomes, and only require manual review for confirmed non-members. Made-with: Cursor
1 parent 82e6bb8 commit 1bd362a

2 files changed

Lines changed: 301 additions & 108 deletions

File tree

.github/user-in-org-check-bot.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Configuration file for `user-in-org-check-bot` GitHub App.
5+
6+
enabled: true
7+
org: NVIDIA
8+
member_label: PR-Author-In-NVIDIA-Org
9+
# Make non-member outcomes explicit so the restricted-paths workflow can
10+
# distinguish them from missing/delayed bot results.
11+
non_member_label: PR-Author-Outside-NVIDIA-Org
12+
# Fail closed if the bot cannot determine organization membership cleanly.
13+
error_label: PR-Author-Org-Check-Failure

0 commit comments

Comments
 (0)