Skip to content

Add java-maven policy to the policy registry - #125

Merged
bkd-dotcom merged 1 commit into
Signetry:mainfrom
Zoymusk:add-java-maven-policy
Sep 18, 2026
Merged

bkd-dotcom merged 1 commit into
Signetry:mainfrom
Zoymusk:add-java-maven-policy

Conversation

@Zoymusk

@Zoymusk Zoymusk commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Closes #114

Adds java-maven.yaml to the policy registry for Maven-built Java services (JUnit, Spring Boot, Flyway stack), following the shape of python-library.yaml.

  • allowed_paths: src/main/java, src/test/java, src/main/resources, src/test/resources, pom.xml, README.md, CHANGELOG.md
  • forbidden_paths: .mvn/**, settings.xml, prod application config, Flyway migrations, infra/deploy dirs, secrets/.env
  • required_checks: mvn -q verify

Ran pytest tests/test_policy_registry.py — all java-maven tests pass. One pre-existing failure (test_policy_respects_force_like_the_starter_does) is unrelated to this change — it reproduces on a clean main checkout with this file stashed out.

@Zoymusk
Zoymusk requested a review from bkd-dotcom as a code owner September 15, 2026 04:22
@github-actions

github-actions Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

All contributors have signed the CLA. ✅
Posted by the CLA Assistant Lite bot.

@Zoymusk

Zoymusk commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and hereby sign the CLA.

@github-actions

Copy link
Copy Markdown

Signetry Reviewer — 🟡 Needs human review

A human should decide — the required check is pending.

Deterministic gates (the authority)

Gate Status
Required status check ⏳ pending
Secret scan ✅ clean
CI permission / OIDC ✅ no forbidden change
Dependency skew ✅ ok
All green ❌

Findings

No issues found by the deterministic scanners.

Merge

A human should review and merge.

This review is advisory. It never merges on its own judgement — the deterministic gates + a human are the authority. Findings can have false negatives; a green bot verdict is not a guarantee.

@Zoymusk

Zoymusk commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and hereby sign the CLA

@Zoymusk

Zoymusk commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Sep 15, 2026
@bkd-dotcom
bkd-dotcom merged commit c0cb9b7 into Signetry:main Sep 18, 2026
8 of 9 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.

Add a java-maven policy to the policy registry

2 participants