Skip to content

ci: 👷 Promote repository security automation - #90

Merged
oxspan merged 1 commit into
masterfrom
develop
Nov 15, 2026
Merged

oxspan merged 1 commit into
masterfrom
develop

Conversation

@oxspan

@oxspan oxspan commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Why

The security automation merged into develop is not available on master yet. Promoting it enables trusted Gradle dependency-graph submission and permits Dependabot security updates through the master PR route check.

Changes

Validation

  • Develop change passed Linux hosted CI on b406006: 289 tests, line coverage 95.35%, branch coverage 81.08%.
  • Native Windows packaging and current promotion CI are required before merge.
  • Initial CodeQL findings are under test/verification sources; per-alert triage and vendored codec review are tracked separately from this promotion.
  • Dependency submission will be verified after the workflow reaches master; no successful submission is claimed yet.

## Why

Gradle dependencies were not covered by the existing Actions-only
Dependabot configuration, and no workflow submitted the resolved
dependency graph for vulnerability alerts. Dependabot security PRs
targeting the default branch were also rejected by the CI route check.

## Changes

- Add weekly grouped Gradle version updates targeting `develop`.
- Submit resolved Gradle dependencies from trusted `master` pushes, a
weekly schedule, or manual dispatch on `master`, using pinned actions
and job-scoped write permissions.
- Allow Dependabot security PRs into `master` through the existing CI
route check.
- Document the configured repository protections, single-maintainer
review policy, and release-please CI approval procedure in the security
and release guides.

## Validation

- [Hosted Linux
CI](https://github.com/oxspan/scouterctl/actions/runs/43545276497)
passed on `b406006dee9de1dccd0cb4fa87ca82cacde26c20`: 289 tests passed,
zero failures/errors/skips. Line coverage 95.35%; branch coverage
81.08%; both thresholds passed.
- Windows package checks were intentionally skipped for the `develop`
target, matching existing CI policy. GitGuardian security checks and the
test-summary job passed.
- actionlint 1.7.12: all three workflows passed. Dependabot YAML parsed
successfully.
- Executed the actual PR route-check block: seven supported routes
accepted and three unsupported routes rejected. `git diff --check`
passed.
- Separately enabled and verified Secret scanning, push protection,
Dependabot alerts/security updates, PR/CI branch requirements, and
selected Actions with SHA pinning. [CodeQL default
setup](https://github.com/oxspan/scouterctl/actions/runs/43544437538)
completed successfully for Actions, C/C++, and Java/Kotlin on the base
commit.

## Compatibility and risks

No CLI, output, capture-format, or supported-Collector changes. Gradle
submission becomes operational after this workflow reaches `master`; a
successful submission has not yet been observed. The vendored Scouter
JAR still needs separate review. Initial CodeQL analysis reported 39
findings under test/verification sources; those findings remain open and
require separate triage. Optional real-Collector smoke tests were not
run.
@github-actions

Copy link
Copy Markdown
Contributor

Linux CI: success · Commit 5dc2457

Test results (Linux)

Total Passed Failed Errors Skipped
289 289 0 0 0

Test coverage

Metric Covered / total Coverage Minimum Result
LINE 2278 / 2389 95.35% 90.00% PASS
BRANCH 1371 / 1691 81.08% 80.00% PASS

Includes the test JVM and CLI subprocesses. Excludes optional real-Collector smoke tests.

Workflow logs and report artifacts

Updated on each CI run. Windows checks, when required, are reported separately in the workflow.

@oxspan
oxspan marked this pull request as ready for review November 15, 2026 06:06
@oxspan
oxspan merged commit 8cc7b5a into master Nov 15, 2026
11 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.

1 participant