Skip to content

Commit beb3b8b

Browse files
committed
Fix GITHUB_TOKEN 403 error by removing /user endpoint check
1 parent ef4f60b commit beb3b8b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scripts/verify-release-assets.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ async function verifyReleaseAssets() {
2121
const repo = "AliFullStack";
2222
const token = process.env.GITHUB_TOKEN;
2323

24-
if (!token) {
25-
throw new Error("GITHUB_TOKEN environment variable is required");
26-
}
27-
28-
2924
// Fetch all releases (including drafts) with retry logic
3025
const tagName = `v${version}`;
3126
const maxRetries = 5;

0 commit comments

Comments
 (0)