diff --git a/.github/scripts/check-duplicates.js b/.github/scripts/check-duplicates.js index 7783491d4..884cf3e91 100644 --- a/.github/scripts/check-duplicates.js +++ b/.github/scripts/check-duplicates.js @@ -18,13 +18,13 @@ function cosineSimilarity(vecA, vecB) { async function run() { const geminiApiKey = process.env.GEMINI_API_KEY; - const githubToken = process.env.GITHUB_TOKEN; + const githubToken = process.env.GITHUB_PAT || process.env.GITHUB_TOKEN; if (!geminiApiKey) { throw new Error('❌ Missing GEMINI_API_KEY environment variable.'); } if (!githubToken) { - throw new Error('❌ Missing GITHUB_TOKEN environment variable.'); + throw new Error('❌ Missing GITHUB_PAT or GITHUB_TOKEN environment variable.'); } const octokit = github.getOctokit(githubToken); diff --git a/README.md b/README.md index 2ef508dda..0109824a4 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,9 @@ - [Design Philosophy](#the-isometric-monolith--design-philosophy) - [Live Demo](#live-demo) - [Deep Customization](#deep-customization--url-parameters) -- [Theme Presets](#theme-presets) + - [Parameter Reference](#parameter-reference) + - [Grace Period Examples](#grace-period-examples) + - [Theme Presets](#theme-presets) - [Theme Preview Gallery](#theme-preview-gallery) - [Real-Time Accuracy](#real-time-accuracy--the-contribution-count-problem) - [Architecture & Tech Stack](#architecture--tech-stack) @@ -41,7 +43,7 @@  ``` - + --- @@ -77,50 +79,50 @@ Transform your GitHub contribution history into a cinematic 3D monolith. ### ✨ Theme Showcase -
| + |
#### Default
-
- |
+
-+ |
#### Neon
-
- |
+
-+ |
#### Custom
-
- |
+
-