File tree Expand file tree Collapse file tree 3 files changed +33
-3
lines changed Expand file tree Collapse file tree 3 files changed +33
-3
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,23 @@ jobs:
21
21
22
22
with :
23
23
ruby-version : ${{ env.ruby_version }}
24
+
24
25
- name : Checkout repo
25
26
uses : actions/checkout@v4
27
+
26
28
- name : Install Toys
27
29
run : " gem install --no-document toys -v 0.15.5"
30
+
31
+ - name : Create otelbot token
32
+ uses : actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
33
+ id : otelbot-token
34
+ with :
35
+ app-id : ${{ vars.OTELBOT_APP_ID }}
36
+ private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }}
37
+
28
38
- name : Open release pull request
29
39
env :
30
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
+ GITHUB_TOKEN : ${{ steps.otelbot-token.outputs.token }}
31
41
run : |
32
42
toys release request --yes --verbose \
33
43
"--release-ref=${{ github.ref }}" \
Original file line number Diff line number Diff line change @@ -25,13 +25,23 @@ jobs:
25
25
26
26
with :
27
27
ruby-version : ${{ env.ruby_version }}
28
+
28
29
- name : Checkout repo
29
30
uses : actions/checkout@v4
31
+
30
32
- name : Install Toys
31
33
run : " gem install --no-document toys -v 0.15.5"
34
+
35
+ - name : Create otelbot token
36
+ uses : actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
37
+ id : otelbot-token
38
+ with :
39
+ app-id : ${{ vars.OTELBOT_APP_ID }}
40
+ private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }}
41
+
32
42
- name : Open release pull request
33
43
env :
34
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
+ GITHUB_TOKEN : ${{ steps.otelbot-token.outputs.token }}
35
45
run : |
36
46
toys release request --yes --verbose \
37
47
"--gems=${{ github.event.inputs.gems }}" \
Original file line number Diff line number Diff line change @@ -28,13 +28,23 @@ jobs:
28
28
29
29
with :
30
30
ruby-version : ${{ env.ruby_version }}
31
+
31
32
- name : Checkout repo
32
33
uses : actions/checkout@v4
34
+
33
35
- name : Install Toys
34
36
run : " gem install --no-document toys -v 0.15.5"
37
+
38
+ - name : Create otelbot token
39
+ uses : actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
40
+ id : otelbot-token
41
+ with :
42
+ app-id : ${{ vars.OTELBOT_APP_ID }}
43
+ private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }}
44
+
35
45
- name : Retry release
36
46
env :
37
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
+ GITHUB_TOKEN : ${{ steps.otelbot-token.outputs.token }}
38
48
run : |
39
49
toys release retry --yes --verbose \
40
50
"--enable-releases=${{ secrets.ENABLE_RELEASES }}" \
You can’t perform that action at this time.
0 commit comments