blob: d035c3fee23055536bd3ed1aec289047d5b6bcc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// @ts-nocheck
export default async ({ github, context, targetSha }) => {
const { content, encoding } = (
await github.rest.repos.getContent({
...context.repo,
path: 'pkgs/top-level/release-supported-systems.json',
ref: targetSha,
})
).data
return JSON.parse(Buffer.from(content, encoding).toString())
}
|