File tree Expand file tree Collapse file tree 3 files changed +14
-20
lines changed Expand file tree Collapse file tree 3 files changed +14
-20
lines changed Original file line number Diff line number Diff line change @@ -28,16 +28,17 @@ jobs:
28
28
- name : Install Toys
29
29
run : " gem install --no-document toys -v 0.15.5"
30
30
31
- - name : Create otelbot token
32
- uses : actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
33
- id : otelbot -token
31
+ - name : Create otelbot app token
32
+
33
+ id : app -token
34
34
with :
35
- app-id : ${{ vars.OTELBOT_APP_ID }}
36
- private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }}
35
+ app-id : ${{ vars.OTELBOT_RUBY_CONTRIB_APP_ID }}
36
+ private-key : ${{ secrets.OTELBOT_RUBY_CONTRIB_PRIVATE_KEY }}
37
37
38
38
- name : Open release pull request
39
39
env :
40
- GITHUB_TOKEN : ${{ steps.otelbot-token.outputs.token }}
40
+ # Using the app token instead of GITHUB_TOKEN to trigger workflows
41
+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
41
42
run : |
42
43
toys release request --yes --verbose \
43
44
"--release-ref=${{ github.ref }}" \
Original file line number Diff line number Diff line change @@ -32,16 +32,16 @@ jobs:
32
32
- name : Install Toys
33
33
run : " gem install --no-document toys -v 0.15.5"
34
34
35
- - name : Create otelbot token
36
- uses : actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
37
- id : otelbot -token
35
+ - name : Create otelbot app token
36
+
37
+ id : app -token
38
38
with :
39
- app-id : ${{ vars.OTELBOT_APP_ID }}
40
- private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }}
39
+ app-id : ${{ vars.OTELBOT_RUBY_CONTRIB_APP_ID }}
40
+ private-key : ${{ secrets.OTELBOT_RUBY_CONTRIB_PRIVATE_KEY }}
41
41
42
42
- name : Open release pull request
43
43
env :
44
- GITHUB_TOKEN : ${{ steps.otelbot -token.outputs.token }}
44
+ GITHUB_TOKEN : ${{ steps.app -token.outputs.token }}
45
45
run : |
46
46
toys release request --yes --verbose \
47
47
"--gems=${{ github.event.inputs.gems }}" \
Original file line number Diff line number Diff line change 35
35
- name : Install Toys
36
36
run : " gem install --no-document toys -v 0.15.5"
37
37
38
- - name : Create otelbot token
39
- uses : actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
40
- id : otelbot-token
41
- with :
42
- app-id : ${{ vars.OTELBOT_APP_ID }}
43
- private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }}
44
-
45
38
- name : Retry release
46
39
env :
47
- GITHUB_TOKEN : ${{ steps.otelbot-token.outputs.token }}
40
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48
41
run : |
49
42
toys release retry --yes --verbose \
50
43
"--enable-releases=${{ secrets.ENABLE_RELEASES }}" \
You can’t perform that action at this time.
0 commit comments