File tree Expand file tree Collapse file tree 2 files changed +68
-7
lines changed
Expand file tree Collapse file tree 2 files changed +68
-7
lines changed Original file line number Diff line number Diff line change 1- # To get started with Dependabot version updates, you'll need to specify which
2- # package ecosystems to update and where the package manifests are located.
3- # Please see the documentation for all configuration options:
4- # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5-
61version : 2
72updates :
83 - package-ecosystem : " cargo"
94 directory : " /"
105 schedule :
116 interval : " daily"
12- allow :
13- - dependency-type : direct
7+ # Check for cargo updates at 3am UTC
8+ time : " 03:00"
9+ open-pull-requests-limit : 10
10+ groups :
11+ batch :
12+ applies-to : version-updates
13+ patterns :
14+ - " *"
15+ - package-ecosystem : " rust-toolchain"
16+ directory : " /"
17+ schedule :
18+ interval : weekly
19+ - package-ecosystem : " github-actions"
20+ directory : " /"
21+ schedule :
22+ interval : " daily"
23+ # Check for cargo updates at 3am UTC
24+ time : " 03:00"
25+ open-pull-requests-limit : 3
Original file line number Diff line number Diff line change 1+ name : Release-plz
2+ on :
3+ push :
4+ branches :
5+ - main
6+ jobs :
7+ # Release unpublished packages.
8+ release-plz-release :
9+ name : Release-plz release
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ steps :
14+ - &checkout
15+ name : Checkout repository
16+ uses : actions/checkout@v5
17+ with :
18+ fetch-depth : 0
19+ persist-credentials : false
20+ - &install-rust
21+ name : Install Rust toolchain
22+ uses : dtolnay/rust-toolchain@stable
23+ - name : Run release-plz
24+ uses :
release-plz/[email protected] 25+ with :
26+ command : release
27+ env :
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
30+ # Create a PR with the new versions and changelog, preparing the next release.
31+ release-plz-pr :
32+ name : Release-plz PR
33+ runs-on : ubuntu-latest
34+ permissions :
35+ contents : write
36+ pull-requests : write
37+ concurrency :
38+ group : release-plz-${{ github.ref }}
39+ cancel-in-progress : false
40+ steps :
41+ - *checkout
42+ - *install-rust
43+ - name : Run release-plz
44+ uses :
release-plz/[email protected] 45+ with :
46+ command : release-pr
47+ env :
48+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments