Skip to content

Commit

Permalink
ci: don't generate attestations on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanccn committed Jul 3, 2024
1 parent 8caf48d commit 0b0e0bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:

- name: Generate build provenance attestations
uses: actions/attest-build-provenance@v1
if: ${{ github.event_name != 'pull_request' }}
with:
subject-path: |
./target/${{ matrix.target }}/release/nrr
Expand Down Expand Up @@ -97,6 +98,7 @@ jobs:

- name: Generate build provenance attestations
uses: actions/attest-build-provenance@v1
if: ${{ github.event_name != 'pull_request' }}
with:
subject-path: ./result/bin/nrr

Expand Down

0 comments on commit 0b0e0bc

Please sign in to comment.