Skip to content

Commit 0bbecf2

Browse files
committed
ci: configure for auto release
Signed-off-by: Jeremie Drouet <jeremie.drouet@gmail.com>
1 parent 094559b commit 0bbecf2

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release-pr.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: release-plz
2+
3+
permissions:
4+
pull-requests: write
5+
contents: write
6+
id-token: write
7+
8+
on:
9+
push:
10+
branches:
11+
- main
12+
13+
jobs:
14+
release-plz:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- uses: dtolnay/rust-toolchain@stable
21+
- name: Run release-plz
22+
id: release-plz
23+
uses: MarcoIeni/release-plz-action@v0.5
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)