From 87742a2c20ed6f459aa9a9576ecaaebf1faecab0 Mon Sep 17 00:00:00 2001 From: Zicklag Date: Fri, 19 Jan 2024 17:30:02 -0600 Subject: [PATCH] ci: add release-plz config. --- .github/workflows/release-plz.yml | 22 ++++++++++++++++++++++ release-plz.toml | 7 +++++++ 2 files changed, 29 insertions(+) create mode 100644 .github/workflows/release-plz.yml create mode 100644 release-plz.toml diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml new file mode 100644 index 0000000000..10bd2b3c77 --- /dev/null +++ b/.github/workflows/release-plz.yml @@ -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 }} diff --git a/release-plz.toml b/release-plz.toml new file mode 100644 index 0000000000..e61d0db0a3 --- /dev/null +++ b/release-plz.toml @@ -0,0 +1,7 @@ +[workspace] +dependencies_update = true +git_release_enable = false +publish = false +git_tag_enable = true +pr_labels = ["release"] +semver_check = false