Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ updates:
commit-message:
prefix: "ci"
include: "scope"
# Cooldown: GitHub Actions tag-promotion attacks (np. malicious tag
# nadpisany na popularnej akcji) sa wykrywane szybko - daj 3 dni
# community na zauwazenie problemu zanim wystawimy PR.
cooldown:
default-days: 3
semver-major-days: 7

- package-ecosystem: "uv"
directory: "/"
Expand All @@ -25,6 +31,16 @@ updates:
commit-message:
prefix: "deps"
include: "scope"
# Cooldown: czekaj az pakiet "ostygnie" przed otwarciem PR-a.
# Chroni przed atakami typu LiteLLM (atak trwal 2.5h zanim PyPI
# quarantine zadzialalo - 119k pobran zlosliwego pakietu). Dependabot
# automatycznie omija cooldown dla aktualizacji security (CVE).
# Praktyka #2 z lirantal/pypi-security-best-practices.
cooldown:
default-days: 3
semver-major-days: 7
semver-minor-days: 3
semver-patch-days: 3
groups:
python-minor-and-patch:
update-types:
Expand All @@ -50,6 +66,11 @@ updates:
commit-message:
prefix: "docker"
include: "scope"
# Cooldown: 3 dni na bazowe obrazy. Tag promotion attacks na obrazach
# bazowych (np. python:3.13-slim) sa rzadkie ale mozliwe.
cooldown:
default-days: 3
semver-major-days: 7
groups:
docker-base-images:
patterns:
Expand Down
1 change: 1 addition & 0 deletions src/bpp/newsfragments/+dependabot-cooldown.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dodano ``cooldown`` do ``.github/dependabot.yml`` dla wszystkich trzech ekosystemów (Python/uv, GitHub Actions, Docker). Aktualizacje czekają 3 dni (major: 7) zanim Dependabot otworzy PR — chroni przed wciąganiem swieżo skompromitowanych wersji (np. atak typu LiteLLM 2.5h przed quarantine). Aktualizacje security (CVE) automatycznie omijają cooldown.
Loading