File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,17 @@ jobs:
29
29
- name : Use CLA approved github bot
30
30
run : .github/scripts/use-cla-approved-github-bot.sh
31
31
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
+
32
38
- name : Create pull request
33
39
env :
34
40
NUMBER : ${{ github.event.inputs.number }}
35
41
# 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 }}
37
43
run : |
38
44
commit=$(gh pr view $NUMBER --json mergeCommit --jq .mergeCommit.oid)
39
45
title=$(gh pr view $NUMBER --json title --jq .title)
You can’t perform that action at this time.
0 commit comments