From 152c139e8197f349cafbf1517ea714e6649625c3 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Thu, 16 Oct 2025 21:23:24 -0500 Subject: [PATCH] add git notes automation for record keeping of rollbacks --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b22828..f98a21d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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:"