Commit d760912
fix(ci): Use role_name instead of permission for maintainer check
The GitHub API's permission field uses legacy values where the
maintain role is mapped to write, making it impossible to distinguish
maintainers from regular write-access users. The role_name field
provides the actual assigned role.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6c80dc5 commit d760912
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
0 commit comments