blob: 2f7a762a0d05133306a4ebdf1fbe865a81d5fc12 (
plain)
1
2
3
4
5
6
7
8
9
10
|
module.exports = 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())
}
|