Skip to content

Commit 7ef6415

Browse files
committed
ci: add provenance action to check for downgrades in provenance
1 parent 433a1fb commit 7ef6415

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/provenance.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
name: ci
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
permissions:
12+
contents: read
13+
jobs:
14+
check-provenance:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- name: Check provenance downgrades
21+
uses: danielroe/provenance-action@a5a718233ca12eff67651fcf29a030bbbd5b3ca1 # v0.1.0
22+
with:
23+
fail-on-provenance-change: true

0 commit comments

Comments
 (0)