File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,18 @@ jobs:
2222 - &install-rust
2323 name : Install Rust toolchain
2424 uses : dtolnay/rust-toolchain@stable
25+ - &get-app-token
26+ uses : actions/create-github-app-token@v2.0.6
27+ id : app-token
28+ with :
29+ app-id : ${{ secrets.DS_RELEASE_BOT_ID }}
30+ private-key : ${{ secrets.DS_RELEASE_BOT_PRIVATE_KEY }}
2531 - name : Run release-plz
2632 uses : release-plz/action@v0.5
2733 with :
2834 command : release
2935 env :
30- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
3137 release-plz-pr :
3238 name : Release-plz PR
3339 runs-on : ubuntu-latest
4248 steps :
4349 - *checkout
4450 - *install-rust
51+ - *get-app-token
4552 - name : Run release-plz
4653 uses : release-plz/action@v0.5
4754 with :
4855 command : release-pr
4956 env :
50- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
You can’t perform that action at this time.
0 commit comments