File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,17 @@ jobs:
2929 - name : Use CLA approved github bot
3030 run : .github/scripts/use-cla-approved-github-bot.sh
3131
32+ - uses : actions/create-github-app-token@136412a57a7081aa63c935a2cc2918f76c34f514 # v1.11.2
33+ id : app-token
34+ with :
35+ app-id : ${{ secrets.OPENTELEMETRY_BASIC_AUTOMATION_APP_ID }}
36+ private-key : ${{ secrets.OPENTELEMETRY_BASIC_AUTOMATION_PRIVATE_KEY }}
37+
3238 - name : Create pull request
3339 env :
3440 NUMBER : ${{ github.event.inputs.number }}
3541 # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
36- GH_TOKEN : ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
42+ GH_TOKEN : ${{ steps.app-token.outputs.token }}
3743 run : |
3844 commit=$(gh pr view $NUMBER --json mergeCommit --jq .mergeCommit.oid)
3945 title=$(gh pr view $NUMBER --json title --jq .title)
You can’t perform that action at this time.
0 commit comments