Skip to content

Commit

Permalink
chore(ci): Disable attestation for fork PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Aug 14, 2024
1 parent 08b5d94 commit 9acd81f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
on:
push:
branches: [main]
tags: ["*"]
pull_request:
branches: [main]
release:
Expand Down Expand Up @@ -40,7 +38,8 @@ jobs:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@v2
with:
attest-build-provenance-github: 'true'
# Use attestation only if the action is triggered inside the repo
attest-build-provenance-github: ${{ github.event.action == 'published' || github.event_name == 'push' }}

test:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 9acd81f

Please sign in to comment.