Skip to content

Commit

Permalink
ci: add release-plz config.
Browse files Browse the repository at this point in the history
  • Loading branch information
zicklag committed Jan 19, 2024
1 parent 60ca263 commit 583e582
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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 }} # <-- PAT secret name
- name: Run release-plz
uses: MarcoIeni/release-plz-action@v0.5
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }} # <-- PAT secret name
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 583e582

Please sign in to comment.