|
1 | | -# Broad ownership — core team reviews everything |
| 1 | +## Broad ownership — core team reviews everything |
2 | 2 | * @NVIDIA/openshell-codeowners @mrunalp @sjenning @derekwaynecarr |
3 | 3 |
|
4 | | -# Vouch list — maintainers only (bot commits bypass, but manual edits need review) |
| 4 | +## Vouch list — maintainers only (bot commits bypass, but manual edits need review) |
5 | 5 | .github/VOUCHED.td @NVIDIA/openshell-codeowners |
6 | 6 |
|
7 | | -# Merge enforcement — these paths decide who can merge, so they keep an explicit |
8 | | -# owner independent of any broad ownership rule above. |
9 | | -# |
10 | | -# A workflow triggered by pull_request_review runs the pull request's copy of |
11 | | -# the workflow file, not the one on main, so a contributor can rewrite the |
12 | | -# approval gate in the same pull request the gate is meant to block. Requiring |
13 | | -# a code owner here is what closes that: the tampered job still runs and still |
14 | | -# reports green, but the pull request cannot merge without an approval GitHub |
15 | | -# enforces natively. |
| 7 | +## Merge enforcement — these paths decide who can merge, so they notify the full |
| 8 | +# list of maintainers to raise scrutiny on changes here. |
| 9 | +# |
| 10 | +# PR checks run local to the branch, so unless the check specifically avoids |
| 11 | +# using branch-local files, a PR could change its own gates and appear to pass |
| 12 | +# them. Covering the required checks here closes that gap. |
16 | 13 | # |
17 | 14 | # The whole workflows directory is covered, not just the approval gate, because |
18 | 15 | # any workflow can claim a required check context or ask for a broader token. |
19 | 16 | # |
20 | | -# The three logins are named alongside the team because they are outside |
21 | | -# collaborators and cannot join it. Owning these paths by team alone would mean |
22 | | -# no Red Hat maintainer could approve a change to the merge gate. |
| 17 | +# Normally, we'd use a GitHub team to cover all maintainers, but org-level |
| 18 | +# policies prevent outside collaborators from being on a GH team at this time |
| 19 | +# so we spell them out explicitly. |
| 20 | + |
| 21 | +# Core check mechanisms |
23 | 22 | /.github/workflows/ @NVIDIA/openshell-codeowners @mrunalp @sjenning @derekwaynecarr |
24 | 23 | /.github/actions/ @NVIDIA/openshell-codeowners @mrunalp @sjenning @derekwaynecarr |
25 | 24 | /.github/CODEOWNERS @NVIDIA/openshell-codeowners @mrunalp @sjenning @derekwaynecarr |
26 | 25 | /.github/zizmor.yml @NVIDIA/openshell-codeowners @mrunalp @sjenning @derekwaynecarr |
| 26 | + |
| 27 | +# `MAINTAINERS.md` maintainer approval checks |
27 | 28 | /MAINTAINERS.md @NVIDIA/openshell-codeowners @mrunalp @sjenning @derekwaynecarr |
28 | 29 | /tasks/scripts/check_maintainer_approval.py @NVIDIA/openshell-codeowners @mrunalp @sjenning @derekwaynecarr |
29 | 30 | /tasks/scripts/alert_maintainer_change.py @NVIDIA/openshell-codeowners @mrunalp @sjenning @derekwaynecarr |
| 31 | +/tasks/scripts/check_maintainer_approval_test.py @NVIDIA/openshell-codeowners @mrunalp @sjenning @derekwaynecarr |
| 32 | +/tasks/scripts/alert_maintainer_change_test.py @NVIDIA/openshell-codeowners @mrunalp @sjenning @derekwaynecarr |
| 33 | + |
| 34 | +# Auditable SBOM check |
| 35 | +/tasks/scripts/verify-image-sbom.sh @NVIDIA/openshell-codeowners @mrunalp @sjenning @derekwaynecarr |
0 commit comments