Skip to content

Commit 3b917f3

Browse files
authored
Merge pull request #17 from niwo/copilot/update-github-actions-release-workflow
Update GitHub Actions release workflow to fix token error
2 parents d3b90b5 + dc8e8bd commit 3b917f3

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)