Skip to content

Commit

Permalink
ci: attest build only on push
Browse files Browse the repository at this point in the history
When running the build for external PRs, we do not have access to
secrets (for good reason). By that, we also cannot perform the
attestation step. Just skip it in these cases.

Signed-off-by: Felix Moessbauer <[email protected]>
  • Loading branch information
fmoessbauer committed Nov 18, 2024
1 parent 67ac8c5 commit 70d5f22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
- name: attest extension artifacts
uses: actions/attest-build-provenance@v1
if: github.event_name == 'push'
with:
subject-path: |
build/Linux-Entra-SSO-v*
Expand Down

0 comments on commit 70d5f22

Please sign in to comment.