Skip to content

feat: make maven step optional - #118

Merged
hobbyhacker0 merged 4 commits into
mainfrom
feat/make_maven_step_optional
Aug 18, 2026
Merged

feat: make maven step optional#118
hobbyhacker0 merged 4 commits into
mainfrom
feat/make_maven_step_optional

Conversation

@hobbyhacker0

@hobbyhacker0 hobbyhacker0 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Description

Make the maven step optional in java-security workflow

Have put this into use on a team repo, working OK

Before submitting (or marking as "ready for review")

  • Does the pull request title follow the conventional commit specification?
  • Have you performed a self-review of the code
  • Have you have added tests that prove the fix or feature is effective and working
  • Did you make sure to update any documentation relating to this change?

@hobbyhacker0 hobbyhacker0 self-assigned this Aug 18, 2026
@hobbyhacker0 hobbyhacker0 changed the title feat: Make maven step optional feat: make maven step optional Aug 18, 2026
@hobbyhacker0
hobbyhacker0 requested a lite review from Copilot August 18, 2026 09:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the reusable java-security GitHub Actions workflow to allow running without GitHub Packages/Maven credentials, and attempts to change the default Java version behavior.

Changes:

  • Makes GitHub Packages credentials (USER_NAME, ACCESS_TOKEN, PACKAGE_REPO) optional for callers.
  • Guards the Maven settings.xml generation step behind a conditional so it only runs when those secrets are provided.
  • Changes the default java_version input from 11 to latest (this appears incompatible with actions/setup-java).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/java-security.yaml Outdated
@hobbyhacker0
hobbyhacker0 force-pushed the feat/make_maven_step_optional branch from 1b1e65e to 3121d06 Compare August 18, 2026 10:42
@hobbyhacker0
hobbyhacker0 merged commit c0033c8 into main Aug 18, 2026
4 checks passed
@hobbyhacker0
hobbyhacker0 deleted the feat/make_maven_step_optional branch August 18, 2026 14:46
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.

5 participants