File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,30 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
if : ${{ github.repository_owner == 'alexrudy' }}
17
17
steps :
18
+ # Generating a GitHub token, so that PRs and tags created by
19
+ # the release-plz-action can trigger actions workflows.
20
+ - name : Generate GitHub token
21
+ uses : actions/create-github-app-token@v1
22
+ id : generate-token
23
+ with :
24
+ # GitHub App ID secret name
25
+ app-id : ${{ secrets.APP_ID }}
26
+ # GitHub App private key secret name
27
+ private-key : ${{ secrets.APP_PRIVATE_KEY }}
28
+
18
29
- name : Checkout
19
30
uses : actions/checkout@v4
20
31
with :
21
32
fetch-depth : 0
33
+ token : ${{ steps.generate-token.outputs.token }}
22
34
23
35
- name : Install rust toolchain
24
36
uses : dtolnay/rust-toolchain@master
25
37
with :
26
38
toolchain : stable
27
39
28
40
- name : Run release-plz
29
- uses : MarcoIeni/release-plz-action@v0.5
41
+ uses : MarcoIeni/release-plz-action@main
30
42
env :
31
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43
+ GITHUB_TOKEN : ${{ steps.generate-token.outputs.token }}
32
44
CARGO_REGISTRY_TOKEN : ${{ secrets.CRATES_TOKEN }}
You can’t perform that action at this time.
0 commit comments