mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:04:06 +01:00
10 lines
323 B
JavaScript
10 lines
323 B
JavaScript
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())
|
|
}
|