Skip to content

Use workflows from https://github.com/cap-java/.github/#844

Merged
Schmarvinius merged 4 commits into
mainfrom
chore-workflows
Jun 1, 2026
Merged

Use workflows from https://github.com/cap-java/.github/#844
Schmarvinius merged 4 commits into
mainfrom
chore-workflows

Conversation

@lisajulia
Copy link
Copy Markdown
Contributor

@lisajulia lisajulia commented May 29, 2026

Migrate CI/CD Workflows to Shared cap-java/.github Actions

Chore

♻️ Refactor: Replaced locally-defined GitHub Actions and workflow steps with reusable shared workflows and actions from the central cap-java/.github repository, reducing duplication and centralizing CI/CD maintenance.

Changes

  • .github/actions/build/action.yml: Removed — now delegated to cap-java/.github/actions/build@main.
  • .github/actions/deploy-release/action.yml: Removed — now delegated to cap-java/.github/actions/deploy-release@main.
  • .github/actions/scan-with-blackduck/action.yml: Removed — now delegated to cap-java/.github/actions/scan-with-blackduck@main.
  • .github/actions/scan-with-codeql/action.yml: Removed — now delegated to cap-java/.github/actions/scan-with-codeql@main.
  • .github/actions/scan-with-sonar/action.yml: Removed — now delegated to cap-java/.github/actions/scan-with-sonar@main.
  • .github/workflows/issue.yml: Replaced inline issue labeling and comment logic with a call to the shared cap-java/.github/.github/workflows/issue.yml@main workflow.
  • .github/workflows/prevent-issue-labeling.yml: Replaced inline label-removal logic with a call to cap-java/.github/.github/workflows/prevent-issue-labeling.yml@main.
  • .github/workflows/stale.yml: Removed inline stale issue handling steps; now delegates to cap-java/.github/.github/workflows/stale.yml@main. Also removed explicit permissions: {} block.
  • .github/workflows/main.yml: Updated BlackDuck scan action reference from local to shared; added explicit project-name and included-modules inputs.
  • .github/workflows/pr.yml: Updated BlackDuck scan action reference from local to shared; added project-name and included-modules inputs.
  • .github/workflows/pipeline.yml: Updated SonarQube and CodeQL action references from local to shared; added sonar-project-key, coverage-report-path, build-script, and coverage-exclusions inputs to the SonarQube step.
  • .github/workflows/release.yml: Updated BlackDuck, build, and deploy action references from local to shared; added project-name and included-modules inputs to the BlackDuck step.
  • 🔄 Regenerate and Update Summary
PR Bot Information

Version: 1.21.0

  • Summary Prompt: Default Prompt
  • Event Trigger: pull_request.opened
  • LLM: anthropic--claude-4.6-sonnet
  • Correlation ID: f0972ec1-2545-4237-a725-09c1f8aeddf0
  • File Content Strategy: Full file content
  • Output Template: Default Template

@lisajulia lisajulia requested a review from Schmarvinius May 29, 2026 13:54
Copy link
Copy Markdown
Contributor

@hyperspace-insights hyperspace-insights Bot left a comment

Choose a reason for hiding this comment

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

The PR centralises CI/CD logic by delegating to shared reusable workflows and actions in cap-java/.github, which is a clean maintainability improvement. However, three issues were flagged: the permissions: {} guard was dropped from stale.yml (least-privilege regression), the sonar-project-key input value should be verified against what the central action actually expects, and the CF service bindings performed before the SonarQube step may be lost if the central action performs an internal checkout.

PR Bot Information

Version: 1.21.0

  • Event Trigger: pull_request.opened
  • LLM: anthropic--claude-4.6-sonnet
  • Correlation ID: f0972ec1-2545-4237-a725-09c1f8aeddf0
  • Agent Instructions:
  • File Content Strategy: Full file content

Comment thread .github/workflows/stale.yml
Comment thread .github/workflows/pipeline.yml
Comment thread .github/workflows/pipeline.yml
Comment thread .github/workflows/stale.yml Fixed
Copy link
Copy Markdown
Contributor

@Schmarvinius Schmarvinius left a comment

Choose a reason for hiding this comment

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

lets try ^^

@Schmarvinius Schmarvinius merged commit 544e1e4 into main Jun 1, 2026
38 of 39 checks passed
@Schmarvinius Schmarvinius deleted the chore-workflows branch June 1, 2026 07:55
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