File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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)
Original file line number Diff line number Diff line change 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}"
Original file line number Diff line number Diff line change 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}\`."
Original file line number Diff line number Diff 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\`."
You can’t perform that action at this time.
0 commit comments