Skip to content

Commit 431c2c7

Browse files
wojtekmajdanielroe
andauthored
ci: only run provenance checks on pnpm lockfile change (#817)
Co-authored-by: Daniel Roe <daniel@roe.dev>
1 parent 4e7814a commit 431c2c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/provenance.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,28 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- pnpm-lock.yaml
79
pull_request:
810
branches:
911
- main
12+
paths:
13+
- pnpm-lock.yaml
1014
merge_group:
1115
branches:
1216
- main
17+
1318
permissions:
1419
contents: read
20+
1521
jobs:
1622
check-provenance:
1723
runs-on: ubuntu-slim
1824
steps:
1925
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2026
with:
2127
fetch-depth: 0
28+
2229
- name: Check provenance downgrades
2330
uses: danielroe/provenance-action@41bcc969e579d9e29af08ba44fcbfdf95cee6e6c # v0.1.1
2431
with:

0 commit comments

Comments
 (0)