From cc80c10074b81b1e40282f5c7ec991b7f24e4994 Mon Sep 17 00:00:00 2001 From: RainbowBird Date: Wed, 24 Sep 2025 22:23:29 +0800 Subject: [PATCH] chore(CI): check provenance --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c46ead8e..6de748ec5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,3 +119,20 @@ jobs: - name: Typecheck run: pnpm run typecheck + + check-provenance: + name: Check Provenance + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + with: + fetch-depth: 0 + - uses: danielroe/provenance-action@main + id: check + with: + fail-on-provenance-change: true # optional, default: false + # lockfile: pnpm-lock.yaml # optional + # base-ref: origin/main # optional, default: origin/main + # fail-on-downgrade: true # optional, default: true + - name: Print result + run: "echo 'Downgraded: ${{ steps.check.outputs.downgraded }}'"