Skip to content

Add dependabot and pin node dependencies - #271

Open
palemieux wants to merge 1 commit into
mainfrom
issues/0263-pin-dependencies
Open

Add dependabot and pin node dependencies#271
palemieux wants to merge 1 commit into
mainfrom
issues/0263-pin-dependencies

Conversation

@palemieux

Copy link
Copy Markdown
Contributor

Closes #263

Pin node dependencies
Comment thread .github/dependabot.yml
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means it will check weekly, but during that check, it might update a dependency to a release made only hours ago. If you want to avoid supply chain attacks, setting a longer cooldown period would mean that, during the check, it will only apply updates that are at least as old as that cooldown period. By setting the cooldown period to e.g. 7 days (which is what we use in BBC) that gives the rest of the ecosystem that long to identify and address any "bad" releases. I'd recommend doing that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pin dependencies to reduce risk of supply chain attacks

2 participants