diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c549ed456..9968bda75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,7 @@ jobs: - name: Attest generated files if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main' id: attest - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@v2 continue-on-error: true # prevent failing when no pages are modified with: subject-path: ${{ env.subject_path }} diff --git a/.github/workflows/copy-release-assets.yml b/.github/workflows/copy-release-assets.yml index b7ceca60b..29627c1c6 100644 --- a/.github/workflows/copy-release-assets.yml +++ b/.github/workflows/copy-release-assets.yml @@ -43,7 +43,7 @@ jobs: - name: Attest copied assets if: github.repository == 'tldr-pages/tldr' id: attest - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@v2 with: subject-path: ${{ env.subject_path }}