diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e4041bac4..ca89e43ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -140,7 +140,7 @@ jobs: - name: 🗝️ Generate build provenance attestations uses: actions/attest-build-provenance@v2 - if: ${{ github.event.repository.fork == false }} + if: ${{ github.event.repository.fork == false && github.event_name != 'pull_request' }} with: subject-path: | imhex-*.msi @@ -458,7 +458,7 @@ jobs: - name: 🗝️ Generate build provenance attestations uses: actions/attest-build-provenance@v2 - if: ${{ github.event.repository.fork == false }} + if: ${{ github.event.repository.fork == false && github.event_name != 'pull_request' }} with: subject-path: | ./*.dmg @@ -577,7 +577,7 @@ jobs: - name: 🗝️ Generate build provenance attestations uses: actions/attest-build-provenance@v2 - if: ${{ github.event.repository.fork == false }} + if: ${{ github.event.repository.fork == false && github.event_name != 'pull_request' }} with: subject-path: | ./*.dmg @@ -671,7 +671,7 @@ jobs: - name: 🗝️ Generate build provenance attestations uses: actions/attest-build-provenance@v2 - if: ${{ github.event.repository.fork == false }} + if: ${{ github.event.repository.fork == false && github.event_name != 'pull_request' }} with: subject-path: | ./*.deb @@ -733,7 +733,7 @@ jobs: - name: 🗝️ Generate build provenance attestations uses: actions/attest-build-provenance@v2 - if: ${{ github.event.repository.fork == false }} + if: ${{ github.event.repository.fork == false && github.event_name != 'pull_request' }} with: subject-path: | out/*.AppImage @@ -850,7 +850,7 @@ jobs: - name: 🗝️ Generate build provenance attestations uses: actions/attest-build-provenance@v2 - if: ${{ github.event.repository.fork == false }} + if: ${{ github.event.repository.fork == false && github.event_name != 'pull_request' }} with: subject-path: | build/imhex-${{ env.IMHEX_VERSION }}-ArchLinux-x86_64.pkg.tar.zst @@ -994,7 +994,7 @@ jobs: - name: 🗝️ Generate build provenance attestations uses: actions/attest-build-provenance@v2 - if: ${{ github.event.repository.fork == false }} + if: ${{ github.event.repository.fork == false && github.event_name != 'pull_request' }} with: subject-path: | imhex-${{ env.IMHEX_VERSION }}-${{ matrix.name }}-${{ matrix.release_num }}-x86_64.rpm