mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-12-22 04:48:18 +00:00
feat: Pin GitHub API version
This commit is contained in:
parent
a5dd242af1
commit
67a9c84bd7
1 changed files with 8 additions and 1 deletions
|
@ -4,7 +4,14 @@ import { throttling } from "@octokit/plugin-throttling"
|
|||
|
||||
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(
|
||||
github_token: string,
|
||||
|
|
Loading…
Reference in a new issue