Skip to content

Commit 3a5b902

Browse files
authored
Merge pull request #200 from ruby-go-gem/fix_release
Fix release workflow
2 parents b9cdd2c + 62c16b8 commit 3a5b902

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@ on:
77

88
permissions:
99
contents: write
10+
actions: read
11+
pull-requests: read
1012

1113
jobs:
1214
publish:
1315
runs-on: ubuntu-latest
1416

1517
steps:
1618
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 100
21+
fetch-tags: true
1722

1823
- uses: ruby/setup-ruby@v1
1924
with:
@@ -26,6 +31,7 @@ jobs:
2631
cat /tmp/changelog.md
2732
env:
2833
TAG_NAME: ${{ github.ref_name }}
34+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2935

3036
- name: Release
3137
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)