Skip to content

Commit

Permalink
chore: update attest-build-provenance action to v2
Browse files Browse the repository at this point in the history
Since some time there is a v2 version of the attest-build-provenance GitHub
action. When used in a project with scorecard/dependabot/renovate using v1
version causes warning, update PRs, etc what `dist` is not happy about unless
dirty-mode is enabled. Instead just update the template to use the newest
action version.
  • Loading branch information
gtema committed Jan 10, 2025
1 parent 09df520 commit 84e113c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo-dist/templates/ci/github/release.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ jobs:
echo "dist ran successfully"
{{%- if github_attestations is defined and github_attestations %}}
- name: Attest
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v2
with:
subject-path: "target/distrib/*${{ join(matrix.targets, ', ') }}*"
{{%- endif %}}
Expand Down

0 comments on commit 84e113c

Please sign in to comment.