From 8af14396975d75311a237a9d14bd44ab90df561b Mon Sep 17 00:00:00 2001 From: matt korwel Date: Fri, 19 Sep 2025 02:34:46 -0700 Subject: [PATCH] testing (#8891) Co-authored-by: gemini-cli-robot --- .../workflows/release-patch-1-create-pr.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/release-patch-1-create-pr.yml b/.github/workflows/release-patch-1-create-pr.yml index 82e6c57880..10b6d0ebeb 100644 --- a/.github/workflows/release-patch-1-create-pr.yml +++ b/.github/workflows/release-patch-1-create-pr.yml @@ -58,6 +58,24 @@ jobs: git config user.name "gemini-cli-robot" git config user.email "gemini-cli-robot@google.com" + - name: 'Test 1: Create branch from HEAD and push' + run: |- + echo "Testing branch creation from HEAD..." + BRANCH_NAME="test-from-head-$(date +%s)" + git checkout -b "$BRANCH_NAME" + echo "# Test file" > test-file.txt + git add test-file.txt + git commit -m "test commit from HEAD" + git push origin "$BRANCH_NAME" || echo "HEAD push failed" + + - name: 'Test 2: Create branch from v0.5.3 tag and push' + run: |- + echo "Testing branch creation from v0.5.3 tag..." + git fetch --tags + BRANCH_NAME="test-from-v053-$(date +%s)" + git checkout -b "$BRANCH_NAME" v0.5.3 || echo "Failed to checkout from v0.5.3" + git push origin "$BRANCH_NAME" || echo "v0.5.3 tag push failed" + - name: 'Create Patch' id: 'create_patch' env: