Commit 411c53a
fix: handle org-disabled projects/discussions in setup script
The GitHub API returns 422 when setting has_projects or has_discussions
on repos whose org has these features disabled. Move these to separate
calls that silently ignore failures.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ad38d77 commit 411c53a
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
71 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
0 commit comments