Skip to content

Commit bae41e3

Browse files
authored
security: stricter pnpm config blockExoticSubdeps & trustPolicy (#330)
1 parent 09139b1 commit bae41e3

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/pr.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,6 @@ jobs:
5353
run: pnpm run build:all
5454
- name: Publish Previews
5555
run: pnpx pkg-pr-new publish --pnpm --compact './packages/*' --no-template
56-
provenance:
57-
name: Provenance
58-
runs-on: ubuntu-latest
59-
steps:
60-
- name: Checkout
61-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
62-
with:
63-
persist-credentials: false
64-
- name: Check Provenance
65-
uses: danielroe/provenance-action@41bcc969e579d9e29af08ba44fcbfdf95cee6e6c # v0.1.1
66-
with:
67-
fail-on-downgrade: true
6856
version-preview:
6957
name: Version Preview
7058
runs-on: ubuntu-latest

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cleanupUnusedCatalogs: true
22
linkWorkspacePackages: true
33
preferWorkspacePackages: true
4+
blockExoticSubdeps: true
5+
trustPolicy: 'no-downgrade'
46

57
peerDependencyRules:
68
allowedVersions:

0 commit comments

Comments
 (0)