Skip to content

Commit e407620

Browse files
authored
Update bot branch names to conform with branch protection rules (#518)
similar to open-telemetry/opentelemetry-java-instrumentation#6862
1 parent ec67f09 commit e407620

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
commit=$(gh pr view $NUMBER --json mergeCommit --jq .mergeCommit.oid)
3434
title=$(gh pr view $NUMBER --json title --jq .title)
3535
36-
branch="backport-${NUMBER}-to-${GITHUB_REF_NAME//\//-}"
36+
branch="opentelemetrybot/backport-${NUMBER}-to-${GITHUB_REF_NAME//\//-}"
3737
3838
git cherry-pick $commit
3939
git push origin HEAD:$branch

.github/workflows/prepare-patch-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
4949
run: |
5050
message="Prepare release $VERSION"
51-
branch="prepare-release-${VERSION}"
51+
branch="opentelemetrybot/prepare-release-${VERSION}"
5252
5353
git commit -a -m "$message"
5454
git push origin HEAD:$branch

.github/workflows/prepare-release-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
5959
run: |
6060
message="Prepare release $VERSION"
61-
branch="prepare-release-${VERSION}"
61+
branch="opentelemetrybot/prepare-release-${VERSION}"
6262
6363
git commit -a -m "$message"
6464
git push origin HEAD:$branch
@@ -107,7 +107,7 @@ jobs:
107107
run: |
108108
message="Update version to $NEXT_VERSION"
109109
body="Update version to \`$NEXT_VERSION\`."
110-
branch="update-version-to-${NEXT_VERSION}"
110+
branch="opentelemetrybot/update-version-to-${NEXT_VERSION}"
111111
112112
git commit -a -m "$message"
113113
git push origin HEAD:$branch

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ jobs:
245245
run: |
246246
message="Copy change log updates from $GITHUB_REF_NAME"
247247
body="Copy log updates from \`$GITHUB_REF_NAME\`."
248-
branch="copy-change-log-updates-from-${GITHUB_REF_NAME//\//-}"
248+
branch="opentelemetrybot/copy-change-log-updates-from-${GITHUB_REF_NAME//\//-}"
249249
250250
if [[ $VERSION == *.0 ]]; then
251251
if git diff --quiet; then

0 commit comments

Comments
 (0)