Skip to content

Commit

Permalink
git: Only generate attestation on main repo
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Jan 22, 2025
1 parent 8978e19 commit 637cdd7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:
- name: 🗝️ Generate build provenance attestations
uses: actions/attest-build-provenance@v2
if: github.event.pull_request.head.repo.full_name == github.repository
with:
subject-path: |
imhex-*.msi
Expand Down Expand Up @@ -385,6 +386,7 @@ jobs:
- name: 🗝️ Generate build provenance attestations
uses: actions/attest-build-provenance@v2
if: github.event.pull_request.head.repo.full_name == github.repository
with:
subject-path: |
./*.dmg
Expand Down Expand Up @@ -504,6 +506,7 @@ jobs:
- name: 🗝️ Generate build provenance attestations
uses: actions/attest-build-provenance@v2
if: github.event.pull_request.head.repo.full_name == github.repository
with:
subject-path: |
./*.dmg
Expand Down Expand Up @@ -597,6 +600,7 @@ jobs:
- name: 🗝️ Generate build provenance attestations
uses: actions/attest-build-provenance@v2
if: github.event.pull_request.head.repo.full_name == github.repository
with:
subject-path: |
./*.deb
Expand Down Expand Up @@ -658,6 +662,7 @@ jobs:
- name: 🗝️ Generate build provenance attestations
uses: actions/attest-build-provenance@v2
if: github.event.pull_request.head.repo.full_name == github.repository
with:
subject-path: |
out/*.AppImage
Expand Down Expand Up @@ -774,6 +779,7 @@ jobs:
- name: 🗝️ Generate build provenance attestations
uses: actions/attest-build-provenance@v2
if: github.event.pull_request.head.repo.full_name == github.repository
with:
subject-path: |
build/imhex-${{ env.IMHEX_VERSION }}-ArchLinux-x86_64.pkg.tar.zst
Expand Down Expand Up @@ -917,6 +923,7 @@ jobs:
- name: 🗝️ Generate build provenance attestations
uses: actions/attest-build-provenance@v2
if: github.event.pull_request.head.repo.full_name == github.repository
with:
subject-path: |
imhex-${{ env.IMHEX_VERSION }}-${{ matrix.name }}-${{ matrix.release_num }}-x86_64.rpm
Expand Down

0 comments on commit 637cdd7

Please sign in to comment.