(content: string, commit: string | undefined)
| 42 | ); |
| 43 | |
| 44 | const getChangeset = (content: string, commit: string | undefined) => { |
| 45 | return [ |
| 46 | { |
| 47 | ...parse( |
| 48 | `--- |
| 49 | pkg: "minor" |
| 50 | --- |
| 51 | |
| 52 | something |
| 53 | ${content} |
| 54 | ` |
| 55 | ), |
| 56 | id: "some-id", |
| 57 | commit, |
| 58 | }, |
| 59 | "minor", |
| 60 | { repo: data.repo }, |
| 61 | ] as const; |
| 62 | }; |
| 63 | |
| 64 | const data = { |
| 65 | commit: "a085003", |