Skip to content

Commit dd0d44d

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

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
@@ -217,6 +217,7 @@ Auto-updated by GitHub Actions`;
217217
// Push using the token if available (for GitHub Actions)
218218
const token = process.env.GITHUB_TOKEN;
219219
if (token) {
220+
console.log("🔐 Using token:", token);
220221
execSync(`git remote set-url origin https://${token}@github.com/hungthai1401/homebrew-tap.git`, { cwd: homebrewPath });
221222
}
222223
execSync("git push origin main", { cwd: homebrewPath });

0 commit comments

Comments
 (0)