add git notes automation for record keeping of rollbacks

This commit was merged in pull request #29.
This commit is contained in:
2025-10-16 21:28:10 -05:00
committed by Jason Ross
parent 45ec303869
commit 152c139e81
+2 -1
View File
@@ -981,10 +981,11 @@ jobs:
# Force push the rollback
if ! git push --force origin main; then
git notes -m 'release commit could not be rolled back'
echo "::error::Failed to push rollback to main"
exit 1
fi
git notes -m 'release commit rolled back'
echo "::error::Reset main branch to commit $PREVIOUS_MAIN_SHA"
echo "::error::Build failures detected:"