Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
jobs:
release:
runs-on: ubuntu-24.04
# 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:
contents: write # for releases
id-token: write # for provenances
attestations: write # for provenances
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -83,6 +89,12 @@ jobs:
"https://github.com/${{ github.repository }}.git#${tag}"
\`\`\`
EOF
- uses: actions/attest-build-provenance@v2
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
with:
subject-path: |
/tmp/artifact/*
/tmp/SHA256SUMS
- name: "Create release"
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
env:
Expand Down