Skip to content

Commit

Permalink
ci: add release-plz config. (#906)
Browse files Browse the repository at this point in the history
  • Loading branch information
zicklag authored Jan 20, 2024
1 parent 60ca263 commit 50b2b1a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 🔁 Update Release PR
on:
push:
branches:
- main
jobs:
release-plz:
name: Release-plz
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_PLZ_TOKEN }}
- name: Run release-plz
uses: MarcoIeni/release-plz-action@v0.5
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
7 changes: 7 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[workspace]
dependencies_update = true
git_release_enable = false
publish = false
git_tag_enable = true
pr_labels = ["release"]
semver_check = false

0 comments on commit 50b2b1a

Please sign in to comment.