Repository navigation
Commit 3445861
authored
fix(runner): push the attested SHA; reuse/open the PR in the pushed remote (#20)
Found rolling GATE-014 out to FastLED/cli (#295, CodeRabbit):
- `--push` pushed `HEAD:refs/heads/<branch>`, so anything that moved HEAD
between the lanes and the push shipped an unattested commit. It now pushes
`<sha>:refs/heads/<branch>` and refuses if HEAD's tree is no longer the
tree the lanes ran on.
- `gh pr view`/`create` resolved the repository from GH_REPO or gh's
default remote, not the remote prooft pushed to. Both now pass
`--repo` derived from `git remote get-url <remote>` (github.com and
enterprise hosts; a non-URL remote keeps gh's default).
0.3.2.
Ci-Attestation: {"at":1795328550,"gate":"python/all/fmt","host":"linux-x86_64","key":"e1c84c71b20b118057d87df87e8e8f2ed88b0d3f2b8f9174b4e4680daedf3f4a","lane":"lint","parents":["627df1683e66b857022e1357ad8997a3b97018f8"],"secs":5,"stamp":"6a5d041e52f31820a68209c82d68838d","tree":"052aacef6081d2688de2dd0b9a14f3ce832efd8f","v":1,"via":"run"}
Ci-Attestation: {"at":1795328550,"gate":"python/all/lint","host":"linux-x86_64","key":"e1c84c71b20b118057d87df87e8e8f2ed88b0d3f2b8f9174b4e4680daedf3f4a","lane":"lint","parents":["627df1683e66b857022e1357ad8997a3b97018f8"],"secs":5,"stamp":"9763b7ee255cd668da7f747c265bd2e0","tree":"052aacef6081d2688de2dd0b9a14f3ce832efd8f","v":1,"via":"run"}
Ci-Attestation: {"at":1795328550,"gate":"python/all/types","host":"linux-x86_64","key":"e1c84c71b20b118057d87df87e8e8f2ed88b0d3f2b8f9174b4e4680daedf3f4a","lane":"lint","parents":["627df1683e66b857022e1357ad8997a3b97018f8"],"secs":5,"stamp":"60351cd98a1b685ab7df4bed9f8a988c","tree":"052aacef6081d2688de2dd0b9a14f3ce832efd8f","v":1,"via":"run"}
Ci-Attestation: {"at":1795328627,"gate":"python/linux-x64/test","host":"linux-x86_64","key":"269f80b55b309b7cb9501f2247ccf564d474e5345266f3383a16fa7b224bd968","lane":"tests","parents":["627df1683e66b857022e1357ad8997a3b97018f8"],"secs":76,"stamp":"5cfbaf911f11213c268dbedafe528aad","tree":"052aacef6081d2688de2dd0b9a14f3ce832efd8f","v":1,"via":"run"}1 parent 627df16 commit 3445861
5 files changed
Lines changed: 69 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
183 | | - | |
184 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
185 | 195 | | |
186 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
187 | 215 | | |
188 | 216 | | |
189 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
190 | 220 | | |
191 | | - | |
| 221 | + | |
192 | 222 | | |
193 | 223 | | |
194 | 224 | | |
195 | 225 | | |
196 | 226 | | |
197 | 227 | | |
198 | 228 | | |
199 | | - | |
| 229 | + | |
200 | 230 | | |
201 | 231 | | |
202 | 232 | | |
| |||
224 | 254 | | |
225 | 255 | | |
226 | 256 | | |
227 | | - | |
228 | | - | |
| 257 | + | |
| 258 | + | |
229 | 259 | | |
230 | | - | |
| 260 | + | |
231 | 261 | | |
232 | 262 | | |
233 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments