Commit a5f55251
a5f5525184dbMerged
Svyatoslav Dumchenko <[email protected]> ยท 4 years ago ยท 1 file ยท ~1 modified
Description
chore(ci): simplify goreleaser workflow
Details
- Commit
- a5f5525184db
- Parent
- 3ed96ca9b1f2
.github/workflows/goreleaser.ymlmodifiedView file
@@ -13,7 +13,7 @@
1313
tagger:1414
runs-on: ubuntu-latest1515
permissions:16-
contents: write16+
contents: write # to create new tag1717
steps:1818
- name: Create tag1919
id: create@@ -57,7 +57,7 @@
5757
generate-changelog:5858
runs-on: ubuntu-latest5959
permissions:60-
contents: write # to commit changes60+
contents: write # to commit merged changelog6161
needs:6262
- tagger6363
steps:@@ -108,10 +108,9 @@
108108
goreleaser:109109
runs-on: ubuntu-latest110110
permissions:111-
contents: write # releases are in `contents`112-
issues: write # for closing milestones113-
packages: write114-
if: always() # otherwise it will skip if tagger is skipped111+
contents: write # to create release112+
issues: write # to close milestone113+
packages: write # to upload package115114
needs:116115
- tagger117116
- generate-changelog@@ -182,9 +181,6 @@
182181
183182
docs:184183
runs-on: ubuntu-latest185-
permissions:186-
actions: write187-
if: always() # otherwise it will skip if tagger is skipped188184
needs:189185
- tagger190186
steps: