New ๐ŸŒŠ wave for @helm

Commit 03460456

03460456a112Merged

Svyatoslav Dumchenko <[email protected]> ยท 4 years ago ยท 2 files ยท ~2 modified

Description

fix(ci): tune permissions and workflow_dispatch

Details

Commit
03460456a112
Parent
eb69d48aae70

.github/workflows/goreleaser.ymlmodifiedView file

@@ -66,7 +66,7 @@
6666 runs-on: ubuntu-latest
6767 if: always()
6868 permissions:
69- contents: read
69+ contents: write # releases are in `contents`
7070 packages: write
7171 needs:
7272 - get-tag
@@ -117,6 +117,7 @@
117117 actions: write
118118 needs:
119119 - get-tag
120+ - goreleaser
120121 steps:
121122 - name: Trigger helmwave/docs workflow
122123 uses: actions/github-script@v6
@@ -128,6 +129,9 @@
128129 repo: context.repo.repo,
129130 workflow_id: "notify.yml",
130131 ref: process.env.GITHUB_TAG,
132+ inputs: {
133+ tag: process.env.GITHUB_TAG,
134+ },
131135 })
132136 env:
133137 GITHUB_TAG: ${{ needs.get-tag.outputs.tag }}