提交 6bdfbae8 authored 作者: Ben Mares's avatar Ben Mares 提交者: Ricardo Vieira

Don't attest from forks

上级 35e87e0a
......@@ -37,6 +37,8 @@ jobs:
- name: Attest GitHub build provenance
uses: actions/attest-build-provenance@v2
# Don't attest from forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with:
subject-path: dist/*.tar.gz
......@@ -82,6 +84,8 @@ jobs:
- name: Attest GitHub build provenance
uses: actions/attest-build-provenance@v2
# Don't attest from forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with:
subject-path: ./wheelhouse/*.whl
......@@ -117,6 +121,8 @@ jobs:
- name: Attest GitHub build provenance
uses: actions/attest-build-provenance@v2
# Don't attest from forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with:
subject-path: dist/*.whl
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论