Skip to content

Commit

Permalink
Generate build provenace attestations
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed May 1, 2024
1 parent 10c6b54 commit 142f62f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Build
on:
workflow_dispatch:

permissions: {}
permissions:
attestations: write
id-token: write

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -173,3 +175,8 @@ jobs:
name: opus-tools
path: opus-tools
compression-level: 9

- name: Generate build provenace attestations
uses: actions/attest-build-provenance@v1
with:
subject-path: 'opus-tools/**.*'

0 comments on commit 142f62f

Please sign in to comment.