Skip to content

Commit

Permalink
ci(attest): disable attestion on pull requests and forks as this is n…
Browse files Browse the repository at this point in the history
…ot supported (or advised)
  • Loading branch information
noirbizarre committed Sep 25, 2024
1 parent 6598e5c commit a413755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: hynek/build-and-inspect-python-package@v2
with:
upload-name-suffix: -${{ matrix.python-version }}-${{ matrix.os }}
attest-build-provenance-github: 'true'
attest-build-provenance-github: ${{ github.event_name != 'pull_request' && !github.event.pull_request.head.repo.fork }}
outputs:
# Outputs the supported Python versions as a JSON array, from the project classifiers
python-versions: ${{ steps.baipp.outputs.supported_python_classifiers_json_array }}
Expand Down

0 comments on commit a413755

Please sign in to comment.