Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
run: npm run channels:lint
- name: update sites.md
run: npm run sites:update
env:
GH_TOKEN: ${{ steps.create-app-token.outputs.token }}
- run: git status
- name: commit changes to sites.md
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
Expand Down
4 changes: 3 additions & 1 deletion scripts/core/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down