feat: Pin GitHub API version

This commit is contained in:
Thomas A. Christensen II 2024-01-26 16:48:48 -06:00
parent a5dd242af1
commit 67a9c84bd7

View file

@ -4,7 +4,14 @@ import { throttling } from "@octokit/plugin-throttling"
import { nextflow_release, NextflowRelease } from "./nextflow-release" import { nextflow_release, NextflowRelease } from "./nextflow-release"
const NEXTFLOW_REPO = { owner: "nextflow-io", repo: "nextflow", per_page: 100 } const NEXTFLOW_REPO = {
owner: "nextflow-io",
repo: "nextflow",
per_page: 100,
headers: {
"x-github-api-version": "2022-11-28"
}
}
export async function setup_octokit( export async function setup_octokit(
github_token: string, github_token: string,