Skip to content

Commit 1f691b2

Browse files
committed
use tag version instead of commit hash
1 parent 47939fa commit 1f691b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/goreleaser.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release Automation
33
on:
44
push:
55
tags:
6-
- 'v[0-9]+.[0-9]+.[0-9]+'
6+
- "v[0-9]+.[0-9]+.[0-9]+"
77

88
concurrency: ci-release-automation
99

@@ -20,7 +20,7 @@ jobs:
2020
outputs:
2121
hashes: ${{ steps.hash.outputs.hashes }}
2222
permissions:
23-
contents: write # for goreleaser/goreleaser-action to create a GitHub release
23+
contents: write # for goreleaser/goreleaser-action to create a GitHub release
2424
packages: write # for goreleaser/goreleaser-action to publish docker images
2525
runs-on: ubuntu-latest
2626
env:
@@ -75,7 +75,7 @@ jobs:
7575
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
7676
with:
7777
distribution: goreleaser
78-
version: '~> v2'
78+
version: "~> v2"
7979
args: release --clean
8080
env:
8181
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
@@ -94,7 +94,7 @@ jobs:
9494
actions: read # To read the workflow path.
9595
id-token: write # To sign the provenance.
9696
contents: write # To add assets to a release.
97-
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@f7dd8c54c2067bafc12ca7a55595d5ee9b75204a # v2.1.0
97+
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
9898
with:
9999
base64-subjects: "${{ needs.goreleaser.outputs.hashes }}"
100100
upload-assets: true

0 commit comments

Comments
 (0)