Skip to content

Commit

Permalink
Update bot branch names (#4842)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Oct 17, 2022
1 parent c775500 commit 250a2f0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
commit=$(gh pr view $NUMBER --json mergeCommit --jq .mergeCommit.oid)
title=$(gh pr view $NUMBER --json title --jq .title)
branch="backport-${NUMBER}-to-${GITHUB_REF_NAME//\//-}"
branch="opentelemetrybot/backport-${NUMBER}-to-${GITHUB_REF_NAME//\//-}"
git cherry-pick $commit
git push origin HEAD:$branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
message="Prepare release $VERSION"
branch="prepare-release-${VERSION}"
branch="opentelemetrybot/prepare-release-${VERSION}"
git commit -a -m "$message"
git push origin HEAD:$branch
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
message="Prepare release $VERSION"
branch="prepare-release-${VERSION}"
branch="opentelemetrybot/prepare-release-${VERSION}"
git commit -a -m "$message"
git push origin HEAD:$branch
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
run: |
message="Update version to $NEXT_VERSION"
body="Update version to \`$NEXT_VERSION\`."
branch="update-version-to-${NEXT_VERSION}"
branch="opentelemetrybot/update-version-to-${NEXT_VERSION}"
git commit -a -m "$message"
git push origin HEAD:$branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ jobs:
run: |
message="Copy change log updates from $GITHUB_REF_NAME"
body="Copy log updates from \`$GITHUB_REF_NAME\`."
branch="copy-change-log-updates-from-${GITHUB_REF_NAME//\//-}"
branch="opentelemetrybot/copy-change-log-updates-from-${GITHUB_REF_NAME//\//-}"
if [[ $VERSION == *.0 ]]; then
if git diff --quiet; then
Expand Down

0 comments on commit 250a2f0

Please sign in to comment.