File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 99 name : Release Go Binary
1010 runs-on : ubuntu-latest
1111 permissions :
12+ attestations : write
1213 contents : write
14+ id-token : write
1315 packages : write
1416 strategy :
1517 matrix :
2426 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2527
2628 - uses : wangyoucao577/go-release-action@481a2c1a0f1be199722e3e9b74d7199acafc30a8 # v1.53
29+ id : go_release
2730 with :
2831 goversion : go.mod
2932 github_token : ${{ secrets.GITHUB_TOKEN }}
3336 project_path : cmd/dependabot
3437 ldflags : >-
3538 -X github.com/dependabot/cli/cmd/dependabot/internal/cmd.version=${{ github.event.release.tag_name }}
39+
40+ - uses : actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.3.3
41+ with :
42+ subject-path : |
43+ ${{ steps.go_release.outputs.release_asset_dir }}/*
44+ dependabot-${{ github.ref_name}}-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz
45+ dependabot-${{ github.ref_name}}-${{ matrix.goos }}-${{ matrix.goarch }}.zip
You can’t perform that action at this time.
0 commit comments