mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-11 21:59:05 +00:00
Update src/utils/fetchLatestReleaseCommit.ts
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
This commit is contained in:
parent
db1780d4fa
commit
55ef81be8d
1 changed files with 1 additions and 2 deletions
|
|
@ -2,8 +2,7 @@ import { ALL_GETH_COMMITS_URL } from '../constants';
|
|||
|
||||
export const fetchLatestReleaseCommit = (versionNumber: string) => {
|
||||
const headers = new Headers({
|
||||
// Note: this token expires on Dec 16, 2023
|
||||
// check fine-grained tokens https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#about-personal-access-tokens
|
||||
// About personal access tokens https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#about-personal-access-tokens
|
||||
Authorization: 'Token ' + process.env.GITHUB_TOKEN_READ_ONLY
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue