mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-08-22 06:53:46 +09:00
Bump brakeman to 8.0.6 and stop --ensure-latest reddening CI (#249)
* Bump brakeman to 8.0.6 Brakeman 8.0.6 shipped 2026-08-12: corrected Rails 8.0 EOL date, added Rails 8.1 and Ruby 4.0 EOL dates, and fixed command-injection false positives. brakeman's only runtime dependency is racc and its required ruby is >= 3.2.0, both unchanged since 7.1.2, so this is a version bump with no other movement in the graph. * Give brakeman's --ensure-latest a 15-day grace period Bare --ensure-latest exits 5 the moment a newer brakeman exists, so a release turns this build red before anyone has a chance to react. That is what happened on 2026-08-12 when 8.0.6 shipped. The flag takes an optional minimum age in days and only complains once the latest release is at least that old. 15 is the maximum it accepts; brakeman rejects anything outside 1-15. * Exempt brakeman from the dependabot cooldown The grace period on --ensure-latest is only headroom if the bump lands inside it. A weekly schedule plus a 7-day cooldown can take 14 days to so much as open the PR, leaving a single day to merge it. Excluding brakeman from the cooldown caps the delay at the weekly schedule, comfortably inside the 15 days.
This commit is contained in:
@@ -20,6 +20,8 @@ updates:
|
||||
semver-minor-days: 3
|
||||
semver-patch-days: 2
|
||||
default-days: 7
|
||||
exclude:
|
||||
- "brakeman"
|
||||
|
||||
- package-ecosystem: docker
|
||||
directory: "/"
|
||||
|
||||
+1
-1
@@ -137,7 +137,7 @@ GEM
|
||||
bcrypt (3.1.22)
|
||||
benchmark (0.5.0)
|
||||
bigdecimal (3.3.1)
|
||||
brakeman (8.0.5)
|
||||
brakeman (8.0.6)
|
||||
racc
|
||||
builder (3.3.0)
|
||||
bundler-audit (0.9.3)
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@
|
||||
require "rubygems"
|
||||
require "bundler/setup"
|
||||
|
||||
ARGV.unshift("--ensure-latest")
|
||||
ARGV.unshift("--ensure-latest", "15")
|
||||
|
||||
load Gem.bin_path("brakeman", "brakeman")
|
||||
|
||||
Reference in New Issue
Block a user