Repository navigation
Expand file tree
/
Copy pathdependabot.yml
More file actions
50 lines (50 loc) · 2.5 KB
/
Copy pathdependabot.yml
File metadata and controls
50 lines (50 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Dependabot keeps GitHub Actions SHA pins current: it bumps both the
# commit SHA and the trailing version comment, so SHA-pinning never goes
# stale. Pairs with the Action Pinning Check (pinact) CI gate and the
# repo .pinact.yml minimum release age.
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
# Defer brand-new releases (the GitHub Actions analog of pnpm's
# minimumReleaseAge). One day longer than .pinact.yml's 7-day
# min_age: Dependabot counts calendar days while pinact enforces an
# exact 168h floor, so an 8-day cooldown guarantees a Dependabot PR
# always clears the pinact CI gate on arrival (no boundary-race red
# check).
cooldown:
default-days: 8
# This repo references some of its OWN reusables at a bare major tag
# (@v1) on purpose: a vX.Y.Z release fast-forwards v1, so the security
# suite and the release workflow ship a change in one release instead of
# a caller-bump-per-release treadmill. See docs/workflows/security-suite.md
# and the matching exemptions in .pinact.yml / zizmor.yml.
#
# Dependabot does not know that and "upgrades" @v1 to @vX.Y.Z (PR #112),
# which breaks the single-release model AND silently loses the .pinact.yml
# exemption, because that rule only matches a bare major tag
# (ActionVersion "^v[0-9]+$") — so pinact then demands a SHA pin.
#
# Ignore exactly the reusables referenced at @v1. Listed individually, not
# as geolonia/.github/*, because this repo also SHA-pins one of its own
# reusables as a consumer would (publish-techdocs.yml); that one must keep
# getting SHA bumps.
ignore:
- dependency-name: "geolonia/.github/.github/workflows/reusable-security-suite.yml"
- dependency-name: "geolonia/.github/.github/workflows/reusable-bumblebee-scan.yml"
- dependency-name: "geolonia/.github/.github/workflows/reusable-secret-leak-check.yml"
- dependency-name: "geolonia/.github/.github/workflows/reusable-pinact-check.yml"
- dependency-name: "geolonia/.github/.github/workflows/reusable-release-auto-on-tag.yml"
groups:
# Batch minor and patch bumps into a single weekly PR. Majors are
# excluded here, so breaking upgrades arrive as individual PRs that
# get isolated review. Security updates also stay individual
# (groups defaults to applies-to: version-updates).
github-actions:
patterns:
- "*"
update-types:
- minor
- patch