Skip to content

Commit f8cc396

Browse files
wojtekmajdanielroe
authored andcommitted
ci: only run provenance checks on pnpm lockfile change (npmx-dev#817)
Co-authored-by: Daniel Roe <daniel@roe.dev>
1 parent 85147f0 commit f8cc396

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.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)