From 4c16e0da825b6db886899bee1861aec6e7853f76 Mon Sep 17 00:00:00 2001 From: Zilvinas Kucinskas Date: Wed, 18 Feb 2026 16:41:17 +0200 Subject: [PATCH] Fix release workflow: add contents:read and Ruby 4.0 smoke test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add contents: read permission to the release job — declaring any permissions block zeros all unlisted ones, so checkout was broken. Add Ruby 4.0 to the smoke-test matrix to match cross-compile which already builds for 4.0,3.4,3.3. --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 191f4a9..40c3582 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,7 +64,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.3", "3.4"] + ruby: ["3.3", "3.4", "4.0"] steps: - uses: ruby/setup-ruby@v1 with: @@ -87,6 +87,7 @@ jobs: runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') permissions: + contents: read id-token: write steps: - uses: actions/checkout@v6