From dd4ea716bea0dd1542f96897e5f24bd8bf28ba19 Mon Sep 17 00:00:00 2001 From: bruingineer Date: Sun, 4 Jan 2026 16:56:22 -0800 Subject: [PATCH 1/6] Create release-plz.yml --- .github/workflows/release-plz.yml | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/release-plz.yml diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml new file mode 100644 index 0000000..a8f5265 --- /dev/null +++ b/.github/workflows/release-plz.yml @@ -0,0 +1,51 @@ +name: Release-plz + +on: + push: + branches: + - main + +jobs: + + # Release unpublished packages. + # release-plz-release: + # name: Release-plz release + # runs-on: ubuntu-latest + # permissions: + # contents: write + # steps: + # - &checkout + # name: Checkout repository + # uses: actions/checkout@v6 + # with: + # fetch-depth: 0 + # persist-credentials: false + # - &install-rust + # name: Install Rust toolchain + # uses: dtolnay/rust-toolchain@stable + # - name: Run release-plz + # uses: release-plz/action@df14d0b05eb0c2b5070d5f8c375e9a8b06f7ae5b #v0.3.150 + # with: + # command: release + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # Create a PR with the new versions and changelog, preparing the next release. + release-plz-pr: + name: Release-plz PR + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + concurrency: + group: release-plz-${{ github.ref }} + cancel-in-progress: false + steps: + - *checkout + - *install-rust + - name: Run release-plz + uses: release-plz/action@df14d0b05eb0c2b5070d5f8c375e9a8b06f7ae5b #v0.3.150 + with: + command: release-pr + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From b2fb45b6558e775eaaa7cef79196791a92d99483 Mon Sep 17 00:00:00 2001 From: bruingineer Date: Sun, 4 Jan 2026 17:00:11 -0800 Subject: [PATCH 2/6] Update release-plz.yml --- .github/workflows/release-plz.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index a8f5265..d570867 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -11,6 +11,7 @@ jobs: # release-plz-release: # name: Release-plz release # runs-on: ubuntu-latest + # if: ${{ github.repository_owner == 'RustLight' }} # permissions: # contents: write # steps: @@ -34,6 +35,7 @@ jobs: release-plz-pr: name: Release-plz PR runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'RustLight' }} permissions: contents: write pull-requests: write From 19c2afe402a3c43971ed69dc5633f632a6b53bc1 Mon Sep 17 00:00:00 2001 From: bruingineer Date: Sun, 4 Jan 2026 17:51:27 -0800 Subject: [PATCH 3/6] Update release-plz.yml --- .github/workflows/release-plz.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index d570867..e0122bd 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -1,4 +1,4 @@ -name: Release-plz +name: Release_plz on: push: From 13127cf79c3a2078621a8d2b6790df5543e735cf Mon Sep 17 00:00:00 2001 From: bruingineer Date: Sun, 4 Jan 2026 17:59:42 -0800 Subject: [PATCH 4/6] Update release-plz.yml --- .github/workflows/release-plz.yml | 52 +++++++++++++++---------------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index e0122bd..0abf950 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -7,30 +7,6 @@ on: jobs: - # Release unpublished packages. - # release-plz-release: - # name: Release-plz release - # runs-on: ubuntu-latest - # if: ${{ github.repository_owner == 'RustLight' }} - # permissions: - # contents: write - # steps: - # - &checkout - # name: Checkout repository - # uses: actions/checkout@v6 - # with: - # fetch-depth: 0 - # persist-credentials: false - # - &install-rust - # name: Install Rust toolchain - # uses: dtolnay/rust-toolchain@stable - # - name: Run release-plz - # uses: release-plz/action@df14d0b05eb0c2b5070d5f8c375e9a8b06f7ae5b #v0.3.150 - # with: - # command: release - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # Create a PR with the new versions and changelog, preparing the next release. release-plz-pr: name: Release-plz PR @@ -43,11 +19,33 @@ jobs: group: release-plz-${{ github.ref }} cancel-in-progress: false steps: - - *checkout - - *install-rust + - name: Checkout repository + uses: actions/checkout@v6 + with: + fetch-depth: 0 + persist-credentials: false + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable - name: Run release-plz uses: release-plz/action@df14d0b05eb0c2b5070d5f8c375e9a8b06f7ae5b #v0.3.150 with: command: release-pr # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # Release unpublished packages. + release-plz-release: + name: Release-plz release + runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'RustLight' }} + permissions: + contents: write + steps: + - *checkout + - *install-rust + - name: Run release-plz + uses: release-plz/action@df14d0b05eb0c2b5070d5f8c375e9a8b06f7ae5b #v0.3.150 + with: + command: release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 9e675dc6069e39aa22946a85dcbdb3b8f6da9027 Mon Sep 17 00:00:00 2001 From: bruingineer Date: Sun, 4 Jan 2026 18:01:29 -0800 Subject: [PATCH 5/6] Update release-plz.yml --- .github/workflows/release-plz.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 0abf950..d953ba4 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -1,4 +1,4 @@ -name: Release_plz +name: release-plz on: push: From f88907241d4a06dede2f361cbf22bed911de1f13 Mon Sep 17 00:00:00 2001 From: bruingineer Date: Sun, 4 Jan 2026 18:04:00 -0800 Subject: [PATCH 6/6] Update release-plz.yml --- .github/workflows/release-plz.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index d953ba4..0a766ee 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -19,12 +19,14 @@ jobs: group: release-plz-${{ github.ref }} cancel-in-progress: false steps: - - name: Checkout repository + - &checkout + name: Checkout repository uses: actions/checkout@v6 with: fetch-depth: 0 persist-credentials: false - - name: Install Rust toolchain + - &install-rust + name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable - name: Run release-plz uses: release-plz/action@df14d0b05eb0c2b5070d5f8c375e9a8b06f7ae5b #v0.3.150