Skip to content

chore(deps): add a 7-day cooldown to Dependabot updates - #2

Closed
davidberenstein1957 wants to merge 1 commit into
mainfrom
security/hardening
Closed

davidberenstein1957 wants to merge 1 commit into
mainfrom
security/hardening

Conversation

@davidberenstein1957

Copy link
Copy Markdown
Member

Summary

Adds a 7-day cooldown to dependency updates: cooldown: default-days: 7 on each Dependabot updates: entry. A newly published release is only proposed or resolved after it has been public for a week, which gives time for a compromised release to be pulled before it reaches us. Resolves the dependabot-missing-cooldown findings Bastion reports for this repository. The config applies to this repository only.

Testing

  • YAML parses. The public Semgrep rule only scans .github/dependabot.yml, and this repo keeps the file at the root, so the finding could not be reproduced locally. Bastion's rescan will confirm.
  • A separate review of the diff found no correctness problems.

Commits

  • ca42d6b chore(deps): add a 7-day cooldown to dependency updates

Dependabot waits 7 days before proposing a new release, so a compromised release has time to be caught. Resolves the Semgrep dependabot cooldown findings.
@davidberenstein1957

Copy link
Copy Markdown
Member Author

Closing: this edits the root dependabot.yaml, which Dependabot never reads. The cooldown now lives in .github/dependabot.yml in #1, which also removes the root file.

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.

1 participant