fix: passes GitHub token into update script
This commit is contained in:
1 parent
0d8de71ba5
commit
8a7749db24
2 files changed
+5
-1
No files matched your search
@@ -80,7 +80,9 @@ export async function loadJs(filepath: string) {
|
||||
|
||||
export async function loadIssues(props?: { labels: string[] | string }) {
|
||||
const CustomOctokit = Octokit.plugin(paginateRest, restEndpointMethods)
|
||||
const octokit = new CustomOctokit()
|
||||
const octokit = new CustomOctokit({
|
||||
auth: process.env.GH_TOKEN
|
||||
})
|
||||
|
||||
let labels = ''
|
||||
if (props && props.labels) {
|
||||
|
||||
Reference in new issue
Block a user