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 @@ -15,13 +15,23 @@ jobs:
15151616 with :
1717 ruby-version : ${{ env.ruby_version }}
18+
1819 - name : Checkout repo
1920 uses : actions/checkout@v4
21+
2022 - name : Install Toys
2123 run : " gem install --no-document toys -v 0.15.5"
24+
25+ - name : Create otelbot token
26+ uses : actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
27+ id : otelbot-token
28+ with :
29+ app-id : ${{ vars.OTELBOT_APP_ID }}
30+ private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }}
31+
2232 - name : Open release pull request
2333 env :
24- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ GITHUB_TOKEN : ${{ steps.otelbot-token.outputs.token }}
2535 run : |
2636 toys release request --yes --verbose \
2737 "--release-ref=${{ github.ref }}" \
Original file line number Diff line number Diff line change @@ -19,13 +19,23 @@ jobs:
19192020 with :
2121 ruby-version : ${{ env.ruby_version }}
22+
2223 - name : Checkout repo
2324 uses : actions/checkout@v4
25+
2426 - name : Install Toys
2527 run : " gem install --no-document toys -v 0.15.5"
28+
29+ - name : Create otelbot token
30+ uses : actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
31+ id : otelbot-token
32+ with :
33+ app-id : ${{ vars.OTELBOT_APP_ID }}
34+ private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }}
35+
2636 - name : Open release pull request
2737 env :
28- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38+ GITHUB_TOKEN : ${{ steps.otelbot-token.outputs.token }}
2939 run : |
3040 toys release request --yes --verbose \
3141 "--gems=${{ github.event.inputs.gems }}" \
Original file line number Diff line number Diff line change @@ -22,13 +22,23 @@ jobs:
22222323 with :
2424 ruby-version : ${{ env.ruby_version }}
25+
2526 - name : Checkout repo
2627 uses : actions/checkout@v4
28+
2729 - name : Install Toys
2830 run : " gem install --no-document toys -v 0.15.5"
31+
32+ - name : Create otelbot token
33+ uses : actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
34+ id : otelbot-token
35+ with :
36+ app-id : ${{ vars.OTELBOT_APP_ID }}
37+ private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }}
38+
2939 - name : Retry release
3040 env :
31- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ GITHUB_TOKEN : ${{ steps.otelbot-token.outputs.token }}
3242 run : |
3343 toys release retry --yes --verbose \
3444 "--enable-releases=${{ secrets.ENABLE_RELEASES }}" \
You can’t perform that action at this time.
0 commit comments