We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0a0883 commit 9c903c4Copy full SHA for 9c903c4
.github/workflows/check-provenance.yml
@@ -0,0 +1,24 @@
1
+name: Check Provenance
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - main
6
+permissions:
7
+ contents: read
8
+jobs:
9
+ check-provenance:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ with:
14
+ fetch-depth: 0
15
+ - name: Check provenance downgrades
16
+ uses: danielroe/provenance-action@main
17
+ id: check
18
19
+ fail-on-provenance-change: true # optional, default: false
20
+ lockfile: pnpm-lock.yaml # optional
21
+ # base-ref: origin/main # optional, default: origin/main
22
+ fail-on-downgrade: true # optional, default: true
23
+ - name: Print result
24
+ run: "echo 'Downgraded: ${{ steps.check.outputs.downgraded }}'"
0 commit comments