Skip to content

Split ci-pr-checks into two workflows, one for libs, one for images. …#451

Merged
larsbard merged 11 commits into
mainfrom
PF-2462
Jun 19, 2026
Merged

Split ci-pr-checks into two workflows, one for libs, one for images. …#451
larsbard merged 11 commits into
mainfrom
PF-2462

Conversation

@larsbard

Copy link
Copy Markdown
Contributor

…Some adjustments in mvn lifecycle for spring boot applications

…Some adjustments in mvn lifecycle for spring boot applications
@larsbard

larsbard commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Jeg la ikke til mvn lifecycle i quarkus, AIen sa quarkus ikke støttet det per nå.

Har ikke lagt til maven clean i ci-pr-checks-image, regner med den starter opp en ny kånteiner når den starter opp.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 splits the existing “golden path” PR checks workflow into two reusable workflows—one tailored for Maven library repositories and one for containerized applications—while deprecating the previous combined ci-pr-checks.yml. It also adjusts the Spring Boot container scan workflow to support configurable Maven lifecycle phases and test skipping.

Changes:

  • Introduces ci-pr-checks-lib.yml (Maven libraries) and ci-pr-checks-image.yml (containerized apps) as replacements for ci-pr-checks.yml.
  • Updates Spring Boot container scan to accept maven-lifecycle and maven-skip-tests inputs and uses them in the Maven build command.
  • Updates documentation and workflow headers/comments to reflect the new split and deprecation.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
README.md Updates docs to point to the new split PR-check workflows and marks the old one as deprecated.
.github/workflows/ci-spring-boot-container-scan.yml Adds Maven lifecycle/test-skip inputs and uses them when building Spring Boot images.
.github/workflows/ci-quarkus-container-scan.yml Updates header comments to reference ci-pr-checks-image.
.github/workflows/ci-pr-checks.yml Marks the existing combined workflow as deprecated in-file.
.github/workflows/ci-pr-checks-lib.yml Adds new reusable workflow for Maven library PR checks (build/test + Trivy FS scan + optional artifact + optional auto-merge).
.github/workflows/ci-pr-checks-image.yml Adds new reusable workflow for containerized app PR checks delegating to Spring Boot/Quarkus container scan workflows.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci-pr-checks-lib.yml
Comment thread .github/workflows/ci-pr-checks-lib.yml
Comment thread .github/workflows/ci-pr-checks-lib.yml
Comment thread .github/workflows/ci-pr-checks-image.yml
Comment thread .github/workflows/ci-pr-checks-image.yml
larsbard and others added 7 commits June 18, 2026 10:44
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@larsbard larsbard marked this pull request as ready for review June 18, 2026 10:35
Comment thread .github/workflows/ci-pr-checks-lib.yml Outdated
Comment thread .github/workflows/ci-pr-checks-image.yml Outdated
@larsbard larsbard merged commit e452e52 into main Jun 19, 2026
3 checks passed
@larsbard larsbard deleted the PF-2462 branch June 19, 2026 08:52
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.

3 participants