()
| 15 | const changesetDir = ".changeset"; |
| 16 | |
| 17 | function isReleasePR() { |
| 18 | if (process.env.GITHUB_HEAD_REF === undefined) { |
| 19 | throw new Error("GITHUB_HEAD_REF is not defined"); |
| 20 | } |
| 21 | |
| 22 | return process.env.GITHUB_HEAD_REF.startsWith("changeset-release/"); |
| 23 | } |
| 24 | |
| 25 | function hasNoChangesetNeededLabel() { |
| 26 | if (process.env.GITHUB_EVENT_PULL_REQUEST_LABELS === undefined) { |
no outgoing calls
no test coverage detected