From cff90b43b6e3077fd2d1fd5a63ef52372c871851 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 13 Dec 2024 19:03:04 +0100 Subject: [PATCH] fix: use a different branch name for the auto-updates This should avoid issues with matching branch protection rules --- .github/workflows/bump-agent-versions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-agent-versions.sh b/.github/workflows/bump-agent-versions.sh index b71ff5d3f92..ea3941a0ea4 100755 --- a/.github/workflows/bump-agent-versions.sh +++ b/.github/workflows/bump-agent-versions.sh @@ -18,7 +18,7 @@ else echo "Another PR for $current_ref is in review, skipping..." exit 0 fi - pr_branch="$current_ref-update-agent-versions-$GITHUB_RUN_ID" + pr_branch="update/$current_ref-update-agent-versions-$GITHUB_RUN_ID" # the mage target above requires to be on a release branch # so, the new branch should not be created before the target is run git checkout -b "$pr_branch"