File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf
132
132
133
133
- ` FOSSA_API_KEY `
134
134
- ` OTELBOT_PRIVATE_KEY `
135
+ - ` OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY `
135
136
136
137
### Organization variables
137
138
Original file line number Diff line number Diff line change 63
63
working-directory : ${{ runner.temp }}/artifacts
64
64
run : unzip patch.zip
65
65
66
+ - uses : actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
67
+ if : steps.download-patch.outputs.exists == 'true'
68
+ id : otelbot-token
69
+ with :
70
+ app-id : 1295839
71
+ private-key : ${{ secrets.OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY }}
72
+
66
73
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
67
74
if : steps.download-patch.outputs.exists == 'true'
75
+ with :
76
+ token : ${{ steps.otelbot-token.outputs.token }}
68
77
69
78
- name : Check out PR branch
70
79
if : steps.download-patch.outputs.exists == 'true'
80
89
git config user.name otelbot
81
90
git config user.email 197425009+otelbot@users.noreply.github.com
82
91
83
- - uses : actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
84
- if : steps.download-patch.outputs.exists == 'true'
85
- id : otelbot-token
86
- with :
87
- app-id : ${{ vars.OTELBOT_APP_ID }}
88
- private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }}
89
-
90
92
- name : Apply patch and push
91
93
if : steps.download-patch.outputs.exists == 'true'
92
- env :
93
- GH_TOKEN : ${{ steps.otelbot-token.outputs.token }}
94
94
run : |
95
95
git apply "${{ runner.temp }}/artifacts/patch"
96
96
git commit -a -m "./gradlew spotlessApply"
You can’t perform that action at this time.
0 commit comments