You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): push nightly sha256 updates via PR instead of direct push
main is protected by a merge queue; GITHUB_TOKEN cannot push directly.
Create a dated branch, open a PR, and enable auto-merge so it lands
once CI passes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
printf 'chore(nightly): update Mozilla nightly sha256s\n\nAuto-refresh sha256 for firefox-nightly and thunderbird-nightly.\nMozilla rebuilds nightly at the same URL daily; version string stays\n150.0a1 so Renovate cannot track this.\n\nCo-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n' > /tmp/nightly-commit-msg.txt
96
98
git commit -F /tmp/nightly-commit-msg.txt
97
-
git pull --rebase
98
-
git push
99
+
git push origin "$BRANCH"
100
+
101
+
# Open PR and enable auto-merge so it lands once CI passes
102
+
gh pr create \
103
+
--title "chore(nightly): update Mozilla nightly sha256s $(date +%Y-%m-%d)" \
104
+
--body "Auto-refresh sha256 for firefox-nightly and thunderbird-nightly. Mozilla rebuilds nightly at the same URL daily; version string stays 150.0a1 so Renovate cannot track this." \
0 commit comments