Skip to content

Commit 50b2b1a

Browse files
authored
ci: add release-plz config. (#906)
1 parent 60ca263 commit 50b2b1a

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/release-plz.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 🔁 Update Release PR
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
release-plz:
8+
name: Release-plz
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
token: ${{ secrets.RELEASE_PLZ_TOKEN }}
16+
- name: Run release-plz
17+
uses: MarcoIeni/release-plz-action@v0.5
18+
with:
19+
command: release-pr
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
22+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

release-plz.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[workspace]
2+
dependencies_update = true
3+
git_release_enable = false
4+
publish = false
5+
git_tag_enable = true
6+
pr_labels = ["release"]
7+
semver_check = false

0 commit comments

Comments
 (0)