From 1d6ea3a257f3865a2b1c509e62a8bacceb4810dd Mon Sep 17 00:00:00 2001 From: Peter Shen Date: Fri, 14 Jun 2024 00:26:33 +0800 Subject: [PATCH] Update build-amd64.yml --- .github/workflows/build-amd64.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-amd64.yml b/.github/workflows/build-amd64.yml index a23776a..cf3366d 100644 --- a/.github/workflows/build-amd64.yml +++ b/.github/workflows/build-amd64.yml @@ -170,7 +170,9 @@ jobs: name: clang-tools path: "${{ matrix.release }}${{ matrix.bindir }}/clang-*-${{ env.suffix }}*" retention-days: 1 - - uses: actions/attest-build-provenance@v1 + - name: create attestations + if: ${{ github.actor != 'dependabot[bot]' }} || github.event_name != 'pull_request' + uses: actions/attest-build-provenance@v1 with: subject-path: "${{ matrix.release }}${{ matrix.bindir }}/clang-*-${{ env.suffix }}"