Skip to content

Commit

Permalink
Enable actions/attest-build-provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
AkihiroSuda committed Jul 30, 2024
1 parent fac70a6 commit fe7b1e9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
release:
runs-on: ubuntu-24.04
timeout-minutes: 20
# The maximum access is "read" for PRs from public forked repos
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
permissions:
id-token: write
contents: read
attestations: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -41,6 +47,9 @@ jobs:
The sha256sum of the SHA256SUMS file itself is \`${shasha}\` .
EOF
- uses: actions/attest-build-provenance@v1
with:
subject-path: _artifacts/*
- name: "Create release"
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
env:
Expand Down

0 comments on commit fe7b1e9

Please # to comment.