Commit bcfe6bd
committed
workflow: fetch template_repository via REST API instead of event payload
The push event payload does not include repository.template_repository
(it's a stripped-down repo object), so the previous step always emitted
an empty TEMPLATE_REPO. Call the REST API with the auto-issued
GITHUB_TOKEN, which is authenticated and works on private forks.1 parent 29bb8a5 commit bcfe6bd
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
62 | 69 | | |
63 | 70 | | |
64 | 71 | | |
| 72 | + | |
| 73 | + | |
65 | 74 | | |
66 | 75 | | |
67 | | - | |
| 76 | + | |
68 | 77 | | |
69 | 78 | | |
70 | 79 | | |
| |||
0 commit comments