Read the push event's before/after range, if running on a GitHub Actions push event
()
| 924 | const channel = channels.get(name); |
| 925 | if (!channel) continue; |
| 926 | const pr = tryRunArgs( |
| 927 | ['gh', 'pr', 'list', '--head', channel.versionPr.branch, '--json', 'number', '--jq', '.[0].number'], |
| 928 | { cwd: rootDir }, |
| 929 | ); |
| 930 | if (!pr) continue; |
| 931 | const validPr = validatePrNumber(pr); |
| 932 | log.step(`Closing release PR #${validPr} — the "${name}" cycle's changes are pending here now...`); |
| 933 | try { |
| 934 | await withPatToken(() => |
| 935 | runArgsAsync( |
| 936 | [ |
| 937 | 'gh', |
| 938 | 'pr', |
| 939 | 'close', |
| 940 | validPr, |
| 941 | '--comment', |
| 942 | `Closing — the \`${name}\` cycle's bump files were promoted and are now pending a release here. ` + |
| 943 | `A new release PR will be created automatically if more changes land on \`${channel.branch}\`.`, |
no outgoing calls
no test coverage detected
searching dependent graphs…