Replace badge workflows with a single maven build workflow - #19
Merged
Merged
Conversation
Merge merged_master.yml and pull_request.yml into maven.yml, modelled on java-monitor-example. Builds run on pushes to master and on every pull request; badge generation, coverage logging and the dependency graph update run on master pushes only. The badge is committed through a short-lived branch and pull request instead of a direct push, the coverage log step now reads the generator outputs via its step id, and the README build badge points at the new workflow. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the
maven.ymlworkflow from java-monitor-example and removesmerged_master.ymlandpull_request.yml.pushto master and on every pull request, so master is checked out explicitly instead of relying on the closed-PR merge refid: jacocoso the coverage log step actually prints the values (it was printing empty strings)contents: writeandpull-requests: writeon the job instead of relying on the repo defaultci/jacoco-badge-*branch and auto-merged PR instead of pushing to master directly./mvnw -B -ntp verifyfor the buildmaven.ymlVerification
merged_master.ymlruns: all steps green, badge unchangedadvanced-security/maven-dependency-submission-action@v6.0.1published 2026-09-04🤖 Generated with Claude Code