File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 2121 create-pull-request-against-release-branch :
2222 permissions :
2323 contents : write # for Git to git push
24+ pull-requests : write # for gh to create the PR
2425 runs-on : ubuntu-latest
2526 needs :
2627 - prereqs
5354 - name : Use CLA approved bot
5455 run : .github/scripts/use-cla-approved-bot.sh
5556
56- - uses : actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
57- id : otelbot-token
58- with :
59- app-id : ${{ vars.OTELBOT_APP_ID }}
60- private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }}
61-
6257 - name : Create pull request against the release branch
6358 env :
64- # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
65- GH_TOKEN : ${{ steps.otelbot-token.outputs.token }}
59+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6660 run : |
6761 message="Prepare release $VERSION"
6862 branch="otelbot/prepare-release-${VERSION}"
You can’t perform that action at this time.
0 commit comments