Skip to content

Commit dfecb02

Browse files
authored
Merge pull request #156 from Typeform/appsec/harden-yarn-config
fix(PLT-3359): harden yarn configuration
2 parents dd6e6aa + b67e351 commit dfecb02

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/dependabot.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
version: 2
2-
32
registries:
43
npm-github:
54
type: npm-registry
@@ -10,7 +9,6 @@ registries:
109
url: https://github.com
1110
username: x-access-token
1211
password: '${{ secrets.GH_TOKEN }}'
13-
1412
updates:
1513
- package-ecosystem: npm
1614
schedule:
@@ -27,7 +25,11 @@ updates:
2725
registries:
2826
- npm-github
2927
- git-github
30-
28+
cooldown:
29+
default:
30+
days: 7
31+
exclude-patterns:
32+
- "@typeform/*"
3133
- package-ecosystem: github-actions
3234
schedule:
3335
interval: weekly

.yarnrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ignore-scripts true # blocks all postinstall scripts
2+
save-exact true # forces exact pins on yarn add

0 commit comments

Comments
 (0)