Skip to content

Commit 7628443

Browse files
committed
fix: use existing branch for target-branch test
The test was failing because 'test-branch' doesn't exist in this repository. Changed to use the existing 'test/nonbot-commits' branch instead.
1 parent 160c1c2 commit 7628443

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/workflow-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
path: updater/tests/sentry-cli.properties
8787
name: TARGET-BRANCH-TEST-DO-NOT-MERGE
8888
pattern: '^2\.0\.'
89-
target-branch: test-branch
89+
target-branch: test/nonbot-commits
9090
pr-strategy: update
9191
api-token: ${{ github.token }}
9292

@@ -106,8 +106,8 @@ jobs:
106106
echo "PR Branch: '$PR_BRANCH'"
107107
108108
# Validate base branch is the specified target-branch
109-
if [[ "$BASE_BRANCH" != "test-branch" ]]; then
110-
echo "❌ Expected base branch 'test-branch', got '$BASE_BRANCH'"
109+
if [[ "$BASE_BRANCH" != "test/nonbot-commits" ]]; then
110+
echo "❌ Expected base branch 'test/nonbot-commits', got '$BASE_BRANCH'"
111111
exit 1
112112
fi
113113

0 commit comments

Comments
 (0)