Files
nixpkgs/ci/github-script/supportedSystems.js
Michael Daniels 8e8424fbf0 ci/github-script: check types by default
(cherry picked from commit 7045e3afe1)
2026-08-11 00:45:05 +00:00

12 lines
338 B
JavaScript

// @ts-nocheck
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())
}