Switch from opentelemetry-java-bot to opentelemetrybot
MODIFY
.github/scripts/generate-release-contributors.sh
.github/scripts/generate-release-contributors.sh
@@ -85,5 +85,5 @@ echo $contributors1 $contributors2 \
| grep -v linux-foundation-easycla \
| grep -v github-actions \
| grep -v dependabot \
- | grep -v opentelemetry-java-bot \
+ | grep -v opentelemetrybot \
| sed 's/^/@/'

DELETE
.github/scripts/set-git-user.sh
-#!/bin/bash -e
-
-git config user.name opentelemetry-java-bot
-git config user.email 97938252+opentelemetry-java-bot@users.noreply.github.com

ADD
.github/scripts/use-cla-approved-github-bot.sh
+#!/bin/bash -e
+
+git config user.name opentelemetrybot
+git config user.email 107717825+opentelemetrybot@users.noreply.github.com

MODIFY
.github/workflows/backport.yml
.github/workflows/backport.yml
@@ -21,8 +21,8 @@ jobs:
# history is needed to run git cherry-pick below
fetch-depth: 0
- - name: Set git user
- run: .github/scripts/set-git-user.sh
+ - name: Use CLA approved github bot
+ run: .github/scripts/use-cla-approved-github-bot.sh
- name: Create pull request
env:

MODIFY
.github/workflows/overhead-benchmark-daily.yml
.github/workflows/overhead-benchmark-daily.yml
@@ -40,10 +40,10 @@ jobs:
cwd: './gh-pages'
branch: 'gh-pages'
message: 'update test result data'
- author_name: opentelemetry-java-bot
- author_email: 97938252+opentelemetry-java-bot@users.noreply.github.com
- committer_name: opentelemetry-java-bot
- committer_email: 97938252+opentelemetry-java-bot@users.noreply.github.com
+ author_name: opentelemetrybot
+ author_email: 107717825+opentelemetrybot@users.noreply.github.com
+ committer_name: opentelemetrybot
+ committer_email: 107717825+opentelemetrybot@users.noreply.github.com
open-issue-on-failure:
needs: run-overhead-tests

MODIFY
.github/workflows/prepare-patch-release.yml
.github/workflows/prepare-patch-release.yml
@@ -43,8 +43,8 @@ jobs:
date=$(date "+%Y-%m-%d")
sed -Ei "s/^## Unreleased$/## Version $VERSION ($date)/" CHANGELOG.md
- - name: Set git user
- run: .github/scripts/set-git-user.sh
+ - name: Use CLA approved github bot
+ run: .github/scripts/use-cla-approved-github-bot.sh
- name: Create pull request
env:

MODIFY
.github/workflows/prepare-release-branch.yml
.github/workflows/prepare-release-branch.yml
@@ -53,8 +53,8 @@ jobs:
date=$(date "+%Y-%m-%d")
sed -Ei "s/^## Unreleased$/## Version $VERSION ($date)/" CHANGELOG.md
- - name: Set git user
- run: .github/scripts/set-git-user.sh
+ - name: Use CLA approved github bot
+ run: .github/scripts/use-cla-approved-github-bot.sh
- name: Create pull request against the release branch
env:
@@ -101,8 +101,8 @@ jobs:
date=$(date "+%Y-%m-%d")
sed -Ei "s/^## Unreleased$/## Unreleased\n\n## Version $VERSION ($date)/" CHANGELOG.md
- - name: Set git user
- run: .github/scripts/set-git-user.sh
+ - name: Use CLA approved github bot
+ run: .github/scripts/use-cla-approved-github-bot.sh
- name: Create pull request against main
env:

MODIFY
.github/workflows/release.yml
.github/workflows/release.yml
@@ -228,8 +228,8 @@ jobs:
cp /tmp/CHANGELOG.md CHANGELOG.md
fi
- - name: Set git user
- run: .github/scripts/set-git-user.sh
+ - name: Use CLA approved github bot
+ run: .github/scripts/use-cla-approved-github-bot.sh
- name: Create pull request against main
env:

MODIFY
.github/workflows/reusable-create-operator-pull-request.yml
.github/workflows/reusable-create-operator-pull-request.yml
@@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
- repository: opentelemetry-java-bot/opentelemetry-operator
+ repository: opentelemetrybot/opentelemetry-operator
# this is the personal access token used for "git push" below
token: ${{ secrets.BOT_TOKEN }}
@@ -40,10 +40,8 @@ jobs:
run: |
echo $VERSION > autoinstrumentation/java/version.txt
- - name: Set git user
- run: |
- git config user.name opentelemetry-java-bot
- git config user.email 97938252+opentelemetry-java-bot@users.noreply.github.com
+ - name: Use CLA approved github bot
+ run: .github/scripts/use-cla-approved-github-bot.sh
- name: Create pull request against opentelemetry-operator
env:

Switch from opentelemetry-java-bot to opentelemetrybot (#6294)