()
| 58 | } |
| 59 | |
| 60 | function hasIssueLinkInPRBody() { |
| 61 | const prBody = process.env.GITHUB_EVENT_PULL_REQUEST_BODY; |
| 62 | |
| 63 | if (prBody === undefined) { |
| 64 | throw new Error("GITHUB_EVENT_PULL_REQUEST_BODY is not defined"); |
| 65 | } |
| 66 | |
| 67 | return /github\.com\/nomicfoundation\/hardhat-website\/issues\/\d+/i.test( |
| 68 | prBody, |
| 69 | ); |
| 70 | } |
| 71 | |
| 72 | async function collectDocsUrlsFromChangesets(): Promise<string[]> { |
| 73 | if (process.env.GITHUB_BASE_REF === undefined) { |
no outgoing calls
no test coverage detected