Commit 7592104
committed
data-sync-maintainers: summary list of CODEOWNERS users lacking write access
A CODEOWNERS entry only works if the user has write (push) access — otherwise
GitHub silently ignores it and never review-requests them. Add a final step that
cross-checks the generated CODEOWNERS individuals against the repo's push-capable
collaborators (paginated) and appends, to the workflow summary, the ones without
write access (so maintainers can grant access or drop the entry).
Degrades gracefully (notes "check skipped") if the token can't read collaborators;
org teams (@org/team) are excluded. Against the current repo this flags ~59 of the
CODEOWNERS users — entries that are currently dead.
Signed-off-by: Igor Pecovnik <igor@armbian.com>1 parent 61f1881 commit 7592104
1 file changed
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
119 | 157 | | |
120 | 158 | | |
121 | 159 | | |
| |||
0 commit comments