File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed
Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release-plz
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ jobs :
8+ release-plz-release :
9+ name : Release-plz release
10+ runs-on : ubuntu-latest
11+ if : ${{ github.repository_owner == 'tattoy-org' }}
12+ permissions :
13+ contents : write
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+ token : ${{ secrets.RELEASE_PLZ_TOKEN }}
20+ - name : Install Rust toolchain
21+ uses : dtolnay/rust-toolchain@stable
22+ - name : Run release-plz
23+ uses :
release-plz/[email protected] 24+ with :
25+ command : release
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.RELEASE_PLZ_TOKEN }}
28+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
29+
30+ release-plz-pr :
31+ name : Release-plz PR
32+ runs-on : ubuntu-latest
33+ if : ${{ github.repository_owner == 'tattoy-org' }}
34+ permissions :
35+ pull-requests : write
36+ contents : write
37+ concurrency :
38+ group : release-plz-${{ github.ref }}
39+ cancel-in-progress : false
40+ steps :
41+ - name : Checkout repository
42+ uses : actions/checkout@v4
43+ with :
44+ fetch-depth : 0
45+ token : ${{ secrets.RELEASE_PLZ_TOKEN }}
46+ - name : Install Rust toolchain
47+ uses : dtolnay/rust-toolchain@stable
48+ - name : Run release-plz
49+ uses :
release-plz/[email protected] 50+ with :
51+ command : release-pr
52+ env :
53+ GITHUB_TOKEN : ${{ secrets.RELEASE_PLZ_TOKEN }}
54+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments