Skip to content

ci: rework Dependabot into two-stream (security-first langs + grouped versions)#331

Merged
Cre-eD merged 1 commit into
mainfrom
chore/dependabot-two-stream
Jun 20, 2026
Merged

ci: rework Dependabot into two-stream (security-first langs + grouped versions)#331
Cre-eD merged 1 commit into
mainfrom
chore/dependabot-two-stream

Conversation

@Cre-eD

@Cre-eD Cre-eD commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Reworks .github/dependabot.yml into the two-stream model used by the PAY-SPACE org rollout. Two independent PR streams, per ecosystem:

🔴 Languages — SECURITY-ONLY (merge-first)

gomod (/) and pip (/docs). open-pull-requests-limit: 0 disables routine version bumps, so the only PRs these open are security-advisory fixes.

limit 0 (security-only)
prefix fix(deps)
labels dependencies, security, priority: high
group <eco>-securityapplies-to: security-updates, patterns: ["*"]

🐳 Docker — VERSION only

The 5 root *.Dockerfile production images (caddy, cloud-helpers.aws, github-actions, github-actions-staging, kubectl). Example Dockerfiles under docs/ stay out of scope (Dependabot only scans the configured dir level).

limit 5 · prefix chore(docker) · labels dependencies, docker
group docker version-updates, update-types: [minor, patch]majors open their own PR

⚙️ GitHub Actions — SECURITY + VERSION

limit 5 · prefix chore(ci) · labels dependencies, github-actions
group github-actions-security security-updates, patterns: ["*"]
group github-actions version-updates, update-types: [minor, patch]third-party majors open their own PR

Deviation preserved (deliberate): the existing simple-container-com-actions group is kept and ordered before the generic version group. There are 21+ uses: refs to our own shared-actions repo and they all move together each release — batching all their version bumps (including majors) into one PR avoids a ~21-PR storm. Only third-party action majors open individual PRs.

Schedule & layout

  • Weekly, Monday 09:00 UTC (PAY-SPACE parity).
  • Both language modules are single-rooted (go.mod at /, requirements.txt at /docs) → directory:, not the multi-module directories: form.

Labels provisioned

Created in this repo so Dependabot can apply them: security, priority: high, docker, github-actions (dependencies already existed).

…versions)

Languages (gomod, pip) → SECURITY-ONLY: open-pull-requests-limit 0 disables
routine version bumps, leaving only merge-first security-advisory PRs
(fix(deps), priority: high). Docker + GitHub Actions → grouped minor/patch
version PRs with majors opening their own PR; github-actions also tracks
security advisories. Preserves the simple-container-com/actions batch group
so a major bump of our own shared-actions repo stays one PR, not ~21.

Signed-off-by: Dmitrii Creed <creeed22@gmail.com>
@github-actions

Copy link
Copy Markdown

Semgrep Scan Results

Repository: api | Commit: 1f5308f

Check Status Details
⚠️ Semgrep Warning 1 warning(s), 1 total

Scanned at 2026-06-20 05:56 UTC

@github-actions

Copy link
Copy Markdown

Security Scan Results

Repository: api | Commit: 1f5308f

Check Status Details
✅ Secret Scan Pass No secrets detected
✅ Dependencies (Trivy) Pass 0 total (no critical/high)
✅ Dependencies (Grype) Pass 0 total (no critical/high)
📦 SBOM Generated 522 components (CycloneDX)

Scanned at 2026-06-20 05:57 UTC

@Cre-eD
Cre-eD merged commit 6caacc3 into main Jun 20, 2026
21 checks passed
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.

3 participants