Skip to content

Commit

Permalink
don't attest pull request artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Logicer16 committed Dec 23, 2024
1 parent 9533a50 commit 7f56da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ jobs:

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v2
if: ${{ matrix.xcode-select == 'xcode' && matrix.version == 15 }}
if: ${{ matrix.xcode-select == 'xcode' && matrix.version == 15 && github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
with:
subject-path: ${{ env.outPath }}.${{ steps.getVersion.outputs.version }}

0 comments on commit 7f56da8

Please sign in to comment.