Commit ad66814
authored
Fix label sync workflow JSON parsing (#50)
Pass labels JSON via environment variable and parse with JSON.parse()
instead of using fromJSON() inline in the script. The fromJSON() function
doesn't work correctly when used inline in github-script blocks.
This fixes the workflow failure where labels was being set to `Array`
instead of the actual array contents.
Assisted-by: Claude Code (Sonnet 4.5)
Signed-off-by: Colin Walters <walters@verbum.org>1 parent c74f639 commit ad66814
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
119 | | - | |
| 121 | + | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| |||
0 commit comments