From 6c5338228b36d9320f8ab9146e5ed55ade7239ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Varl=C4=B1?= Date: Fri, 22 Aug 2025 18:04:12 +0100 Subject: [PATCH] Update release-plz GitHub workflow (#466) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Disable publishing for `ensure_no_std` test crate - Add write content permissions to release-plz job expliclity Signed-off-by: Burak Varlı --- .github/workflows/release-plz.yml | 2 ++ tests/ensure_no_std/Cargo.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 662c4a8..307412e 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -10,6 +10,8 @@ jobs: release-plz: name: Release-plz runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/tests/ensure_no_std/Cargo.toml b/tests/ensure_no_std/Cargo.toml index bcf7745..035fa7f 100644 --- a/tests/ensure_no_std/Cargo.toml +++ b/tests/ensure_no_std/Cargo.toml @@ -2,6 +2,7 @@ name = "ensure_no_std" version = "0.1.0" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html