File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 28
28
env :
29
29
NUMBER : ${{ github.event.inputs.number }}
30
30
# 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 }}
32
32
run : |
33
33
commit=$(gh pr view $NUMBER --json mergeCommit --jq .mergeCommit.oid)
34
34
title=$(gh pr view $NUMBER --json title --jq .title)
Original file line number Diff line number Diff line change 60
60
- name : Create pull request
61
61
env :
62
62
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
63
- GITHUB_TOKEN : ${{ secrets.BOT_TOKEN }}
63
+ GITHUB_TOKEN : ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
64
64
run : |
65
65
message="Prepare release ${STABLE_VERSION}/${UNSTABLE_VERSION}"
66
66
branch="opentelemetrybot/prepare-release-${STABLE_VERSION}-${UNSTABLE_VERSION}"
Original file line number Diff line number Diff line change 87
87
- name : Create pull request against the release branch
88
88
env :
89
89
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
90
- GITHUB_TOKEN : ${{ secrets.BOT_TOKEN }}
90
+ GITHUB_TOKEN : ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
91
91
run : |
92
92
message="Prepare release ${STABLE_VERSION}/${UNSTABLE_VERSION}"
93
93
branch="opentelemetrybot/prepare-release-${STABLE_VERSION}-${UNSTABLE_VERSION}"
@@ -163,7 +163,7 @@ jobs:
163
163
- name : Create pull request against main
164
164
env :
165
165
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
166
- GITHUB_TOKEN : ${{ secrets.BOT_TOKEN }}
166
+ GITHUB_TOKEN : ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
167
167
run : |
168
168
message="Update version to ${STABLE_NEXT_VERSION}/${UNSTABLE_NEXT_VERSION}"
169
169
body="Update version to \`${STABLE_NEXT_VERSION}/${UNSTABLE_NEXT_VERSION}\`."
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ jobs:
184
184
- name : Create pull request against main
185
185
env :
186
186
# 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 }}
188
188
run : |
189
189
message="Copy change log updates from $GITHUB_REF_NAME"
190
190
body="Copy log updates from \`$GITHUB_REF_NAME\`."
You can’t perform that action at this time.
0 commit comments