Skip to content

Commit

Permalink
feat(github): ✨ add auth
Browse files Browse the repository at this point in the history
  • Loading branch information
i7eo committed Jun 27, 2024
1 parent 312572f commit 613133a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/quick-cups-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@unconfig/github": patch
---

add auth

2 changes: 1 addition & 1 deletion packages/github/src/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import process from 'node:process'
import { Octokit } from '@octokit/core'

export const githubApi: InstanceType<typeof Octokit> = new Octokit({
auth: process.env.TOKEN,
auth: process.env.GITHUB_TOKEN,
})

export const GITHUB_DEFAULT_NAMES = ['i7eo']
Expand Down

0 comments on commit 613133a

Please sign in to comment.