Skip to content

Commit dc8e8bd

Browse files
Copilotniwo
andauthored
fix: update release workflow publish action and permissions
Agent-Logs-Url: https://github.com/niwo/cloudstack_client/sessions/851023cb-6410-453d-b993-8afc5e4a1a44 Co-authored-by: niwo <57439+niwo@users.noreply.github.com>
1 parent 4188c5d commit dc8e8bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
permissions:
9-
contents: write
9+
contents: read
1010
id-token: write
1111

1212
jobs:
@@ -54,6 +54,6 @@ jobs:
5454
bundler-cache: true
5555

5656
- name: Publish gem to RubyGems
57-
uses: rubygems/release-gem@v1
57+
uses: rubygems/release-gem@v2
5858
with:
5959
api-key: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}

0 commit comments

Comments
 (0)