Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify GH tokens #12066

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Unify GH tokens #12066

merged 1 commit into from
Jan 31, 2024

Conversation

pettinarip
Copy link
Member

Description

This PR simplifies the GH tokens we currently use for the site. Instead of having 2 tokens, it uses just one for all the GH calls we need to make.

  • Removes the GITHUB_TOKEN_READ_ONLY env var
  • Refactor the code to use NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY instead.

Both tokens were of the same type, Github read-only tokens. These were used to fetch commits for a given file and to fetch metadata from repos (star count, programming langs, etc).

Copy link

netlify bot commented Jan 30, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit fcc8a94
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/65b946127bcc6f0008374519
😎 Deploy Preview https://deploy-preview-12066--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@corwintines corwintines merged commit 513c685 into dev Jan 31, 2024
6 checks passed
@corwintines corwintines deleted the unify-gh-tokens branch January 31, 2024 16:09
This was referenced Jan 31, 2024
This was referenced Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants