Skip to content

Commit be25573

Browse files
committed
fix(workflows): log GITHUB_TOKEN usage in Homebrew update script for better debugging
1 parent 4ccd9b6 commit be25573

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/scripts/update-homebrew.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ Auto-updated by GitHub Actions`;
216216
execSync(`git commit -m "${commitMessage}"`, { cwd: homebrewPath });
217217
// Push using the token if available (for GitHub Actions)
218218
const token = process.env.GITHUB_TOKEN;
219+
console.log("🔐 Using token:", token);
219220
if (token) {
220221
execSync(`git remote set-url origin https://${token}@github.com/hungthai1401/homebrew-tap.git`, { cwd: homebrewPath });
221222
}

0 commit comments

Comments
 (0)