Skip to content

Commit 91066de

Browse files
Fix release workflow: add contents:read and Ruby 4.0 smoke test (#51)
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.
1 parent 6dada1a commit 91066de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
strategy:
6565
fail-fast: false
6666
matrix:
67-
ruby: ["3.3", "3.4"]
67+
ruby: ["3.3", "3.4", "4.0"]
6868
steps:
6969
- uses: ruby/setup-ruby@v1
7070
with:
@@ -87,6 +87,7 @@ jobs:
8787
runs-on: ubuntu-latest
8888
if: startsWith(github.ref, 'refs/tags/v')
8989
permissions:
90+
contents: read
9091
id-token: write
9192
steps:
9293
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)