Repository navigation
[ci] chore: Improve publish-release job dependencies - #6792
Merged
Merged
Conversation
Now each job only depends on one other job. This should finally make the graphical display more reasonable. The variable PMD_VERSION is reexported when needed.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors the .github/workflows/publish-release.yml workflow to simplify the GitHub Actions job dependency graph by ensuring each job depends on only one upstream job, while still making PMD_VERSION (and the regression baseline zip filename) available via job outputs where needed.
Changes:
- Reworked job
needsto depend on a single upstream job (primarilydeploy-to-maven-central, andgithub-releasefor docker). - Added job outputs and “re-export” steps so
PMD_VERSIONcan be consumed through the new dependency chain. - Refactored regression-tester baseline creation to expose the produced zip filename as a job output and reuse it in follow-up upload steps.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Contributor
|
No relevant source code has been changed, pmdtester skipped. (comment created at 2026-06-19 09:55:33+00:00 for 822d369) |
UncleOwen
approved these changes
Jun 19, 2026
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.
Describe the PR
Now each job only depends on one other job.
This should finally make the graphical display
more reasonable. The variable PMD_VERSION is
reexported when needed.
Currently, the graph looks like this (https://github.com/pmd/pmd/actions/runs/26623758294):
It looks like as if upload-regression-tester-baseline depends on github release as well, but this arrow actually points all the way back to "check-version".
With this change, this arrow disappear and this graph hopefully looks more reasonable.
Related issues
Ready?
./mvnw clean verifypasses (checked automatically by github actions)