Commit dafb390
* fix(ci): rename the cross-repo client — github-script already declares `octokit`
`actions/github-script` injects an `octokit` binding, so `const octokit = ...`
aborts the run with a SyntaxError before any logic executes. Caught on #4553's
own merge, the first time the workflow ever ran; until this lands every merged
PR carries one red check.
The pre-merge `node --check` missed it because the test wrapper declared only
{github, context, core, require} — a wrapper that omits an injected identifier
cannot see a collision with it. The wrapper now carries the full set.
* ci: log CROSS_REPO_ISSUE_TOKEN presence on every run
Without this the job returns early whenever a PR body carries no cross-repo
reference — which is most PRs — so a repository that has the secret and one
that does not produce byte-identical logs. Whether the credential is
provisioned stays unanswerable until a cross-repo reference happens to show
up, possibly days later.
Presence only; the value is never read into the log.
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 85a966f commit dafb390
2 files changed
Lines changed: 37 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
63 | 73 | | |
64 | 74 | | |
65 | 75 | | |
| |||
75 | 85 | | |
76 | 86 | | |
77 | 87 | | |
78 | | - | |
79 | | - | |
80 | 88 | | |
81 | 89 | | |
82 | 90 | | |
| |||
103 | 111 | | |
104 | 112 | | |
105 | 113 | | |
106 | | - | |
| 114 | + | |
107 | 115 | | |
108 | 116 | | |
109 | 117 | | |
110 | | - | |
| 118 | + | |
111 | 119 | | |
112 | 120 | | |
113 | 121 | | |
114 | 122 | | |
115 | 123 | | |
116 | 124 | | |
117 | | - | |
| 125 | + | |
118 | 126 | | |
119 | 127 | | |
120 | 128 | | |
121 | 129 | | |
122 | 130 | | |
123 | 131 | | |
124 | | - | |
| 132 | + | |
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
| |||
0 commit comments