File tree Expand file tree Collapse file tree 3 files changed +45
-1
lines changed Expand file tree Collapse file tree 3 files changed +45
-1
lines changed Original file line number Diff line number Diff line change 11version : 2
22updates :
3+
4+ # We do not set open-pull-requests-limit, as sometimes
5+ # dependabot thinks the limit is hit without actually having
6+ # any PRs open. In reality, the configs below can only result
7+ # in at most one PR per package ecosyste manyway.
8+ # A monthly update of the rust-vmm-ci submodule
39- package-ecosystem : gitsubmodule
410 directory : " /"
511 schedule :
612 interval : monthly
7- open-pull-requests-limit : 10
13+
14+ # A monthly update to rust dependencies. These will be grouped,
15+ # e.g. one PR will contains updates for all dependencies.
16+ - package-ecosystem : cargo
17+ directory : " /"
18+ schedule :
19+ interval : monthly
20+ # Make it also update transitive dependencies in Cargo.lock
21+ allow :
22+ - dependency-type : " all"
23+ # Group all available updates into a group called "rust-dependencies"
24+ groups :
25+ rust-dependencies :
26+ patterns :
27+ - " *"
Original file line number Diff line number Diff line change 1+ name : Publish to crates.io
2+
3+ on :
4+ push :
5+ tags : ['v*'] # Triggers when pushing version tags
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+ # environment: release # Optional: for enhanced security
11+ permissions :
12+ id-token : write # Required for OIDC token exchange
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : rust-lang/crates-io-auth-action@v1
16+ id : auth
17+ - run : |
18+ cd .
19+ cargo publish
20+ env:
21+ CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
Original file line number Diff line number Diff line change 1+ x86_64
2+ aarch64
3+ riscv64
You can’t perform that action at this time.
0 commit comments