git: Only generate attestation on main repo
This commit is contained in:
parent
8978e193db
commit
637cdd7084
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user