File tree Expand file tree Collapse file tree 2 files changed +58
-3
lines changed
Expand file tree Collapse file tree 2 files changed +58
-3
lines changed Original file line number Diff line number Diff line change 11version : 2
22updates :
3- - package-ecosystem : cargo
3+ - package-ecosystem : " cargo"
44 directory : " /"
55 schedule :
6- interval : daily
7- open-pull-requests-limit : 10
6+ interval : " weekly"
7+ - package-ecosystem : " github-actions"
8+ directory : " /"
9+ schedule :
10+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : Release-plz
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+
10+ # Release unpublished packages.
11+ release-plz-release :
12+ name : Release-plz release
13+ runs-on : ubuntu-latest
14+ permissions :
15+ contents : write
16+ id-token : write
17+ steps :
18+ - &checkout
19+ name : Checkout repository
20+ uses : actions/checkout@v5
21+ with :
22+ fetch-depth : 0
23+ persist-credentials : false
24+ - &install-rust
25+ name : Install Rust toolchain
26+ uses : dtolnay/rust-toolchain@stable
27+ - name : Run release-plz
28+ uses : release-plz/action@v0.5
29+ with :
30+ command : release
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33+
34+ # Create a PR with the new versions and changelog, preparing the next release.
35+ release-plz-pr :
36+ name : Release-plz PR
37+ runs-on : ubuntu-latest
38+ permissions :
39+ contents : write
40+ pull-requests : write
41+ concurrency :
42+ group : release-plz-${{ github.ref }}
43+ cancel-in-progress : false
44+ steps :
45+ - *checkout
46+ - *install-rust
47+ - name : Run release-plz
48+ uses : release-plz/action@v0.5
49+ with :
50+ command : release-pr
51+ env :
52+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments