Skip to content

Commit

Permalink
Merge pull request #9 from AkihiroSuda/dev
Browse files Browse the repository at this point in the history
Enable actions/attest-build-provenance
  • Loading branch information
AkihiroSuda authored Jul 30, 2024
2 parents fcd5bbb + fe7b1e9 commit b2fd7be
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 b2fd7be

Please sign in to comment.