We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfd6136 commit 339a7b6Copy full SHA for 339a7b6
src/github/common/utils.ts
@@ -34,8 +34,8 @@ export async function githubRequest(
34
...options.headers,
35
};
36
37
- if (process.env.GITHUB_TOKEN) {
38
- headers["Authorization"] = `Bearer ${process.env.GITHUB_TOKEN}`;
+ if (process.env.GITHUB_PERSONAL_ACCESS_TOKEN) {
+ headers["Authorization"] = `Bearer ${process.env.GITHUB_PERSONAL_ACCESS_TOKEN}`;
39
}
40
41
const response = await fetch(url, {
0 commit comments