File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - ' v*'
7+ workflow_dispatch :
8+ inputs :
9+ tag :
10+ description : ' Tag to release (e.g. v0.14.4)'
11+ required : true
12+ type : string
713
814permissions :
915 contents : write
2127 - uses : actions/checkout@v6
2228 with :
2329 fetch-depth : 0
30+ ref : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref }}
2431
2532 - uses : actions/setup-go@v6
2633 with :
3037 run : brew install syft
3138
3239 - name : Verify release metadata
33- run : ./scripts/check-release-version.sh "${GITHUB_REF_NAME }"
40+ run : ./scripts/check-release-version.sh "${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref_name } }"
3441
3542 - name : Run GoReleaser
3643 uses : goreleaser/goreleaser-action@v7
You can’t perform that action at this time.
0 commit comments