Skip to content

Commit 1c50e47

Browse files
authored
bot (#1667)
1 parent 3f8fdf2 commit 1c50e47

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
@@ -28,7 +28,7 @@ jobs:
2828
env:
2929
NUMBER: ${{ github.event.inputs.number }}
3030
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
31-
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
31+
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
3232
run: |
3333
commit=$(gh pr view $NUMBER --json mergeCommit --jq .mergeCommit.oid)
3434
title=$(gh pr view $NUMBER --json title --jq .title)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Create pull request
7070
env:
7171
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
72-
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
72+
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
7373
run: |
7474
message="Prepare release ${STABLE_VERSION}/${UNSTABLE_VERSION}"
7575
branch="opentelemetrybot/prepare-release-${STABLE_VERSION}-${UNSTABLE_VERSION}"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
- name: Create pull request against the release branch
9797
env:
9898
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
99-
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
99+
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
100100
run: |
101101
message="Prepare release ${STABLE_VERSION}/${UNSTABLE_VERSION}"
102102
branch="opentelemetrybot/prepare-release-${STABLE_VERSION}-${UNSTABLE_VERSION}"
@@ -181,7 +181,7 @@ jobs:
181181
- name: Create pull request against main
182182
env:
183183
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
184-
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
184+
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
185185
run: |
186186
message="Update version to ${STABLE_NEXT_VERSION}/${UNSTABLE_NEXT_VERSION}"
187187
body="Update version to \`${STABLE_NEXT_VERSION}/${UNSTABLE_NEXT_VERSION}\`."

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
- name: Create pull request against main
185185
env:
186186
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
187-
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
187+
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
188188
run: |
189189
message="Copy change log updates from $GITHUB_REF_NAME"
190190
body="Copy log updates from \`$GITHUB_REF_NAME\`."

0 commit comments

Comments
 (0)