Skip to content

Use new release workflow of cap-java/.github and update shas - #137

Open
lisajulia wants to merge 1 commit into
mainfrom
chore/release-pipeline
Open

Use new release workflow of cap-java/.github and update shas#137
lisajulia wants to merge 1 commit into
mainfrom
chore/release-pipeline

Conversation

@lisajulia

@lisajulia lisajulia commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Update cap-java/.github Action SHAs and Migrate to Shared Release Workflow

Chore

🔧 Updated all cap-java/.github action and workflow references from the old SHA (296573b) to the new SHA (b5eb1ad), and replaced the inline release workflow with a call to the shared reusable release workflow from cap-java/.github.

Changes

  • .github/actions/cf-bind/action.yml: Updated cf-login action SHA to b5eb1ad.
  • .github/workflows/issue.yml: Updated issue.yml workflow SHA to b5eb1ad.
  • .github/workflows/main.yml: Updated scan-with-blackduck action SHA to b5eb1ad.
  • .github/workflows/pipeline.yml: Updated scan-with-codeql action SHA to b5eb1ad.
  • .github/workflows/prevent-issue-labeling.yml: Updated prevent-issue-labeling.yml workflow SHA to b5eb1ad.
  • .github/workflows/stale.yml: Updated stale.yml workflow SHA to b5eb1ad.
  • .github/workflows/release.yml: Removed the inline release job definitions (approval gate, version verification, BlackDuck scan, build, and deploy steps) and replaced them with a single call to the shared cap-java/.github/.github/workflows/release.yml reusable workflow, passing relevant inputs (java-version, blackduck-project-name, blackduck-included-modules, build-maven-args, deploy-maven-profiles) and inheriting secrets. Also removed the top-level env block for JAVA_VERSION and MAVEN_VERSION as these are now passed as workflow inputs.
  • 🔄 Regenerate and Update Summary
PR Bot Information

Version: 1.29.45

  • Summary Prompt: Default Prompt
  • Event Trigger: pull_request.opened
  • LLM: anthropic--claude-4.6-sonnet
  • Correlation ID: 871988e0-a0ad-11f1-91da-84825433ed8d
  • Output Template: Default Template
  • File Content Strategy: Full file content

@lisajulia
lisajulia requested a review from a team as a code owner August 25, 2026 17:50

@hyperspace-pr-bot hyperspace-pr-bot Bot 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.

The PR is a clean SHA-bump across all shared workflow/action references, replacing 296573b55e906f5c77a1855bcfe4285cbbc5cac4 with b5eb1ad6341e9fd1d681c42f3b36c4b750a7dac2, plus a welcome simplification of release.yml by delegating to the centralized reusable workflow. The only minor issue is the missing # main comment on the new release.yml call-site, which is inconsistent with every other updated reference in this PR.

PR Bot Information

Version: 1.29.45

  • File Content Strategy: Full file content
  • LLM: anthropic--claude-4.6-sonnet
  • Event Trigger: pull_request.opened
  • Correlation ID: 871988e0-a0ad-11f1-91da-84825433ed8d

maven-version: ${{ env.MAVEN_VERSION }}
maven-profiles: "deploy-release,'!with-integration-tests'"
release:
uses: cap-java/.github/.github/workflows/release.yml@b5eb1ad6341e9fd1d681c42f3b36c4b750a7dac2

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.

Best Practices: Missing # main comment on the pinned SHA reference.

Every other workflow file updated in this PR uses the convention @<sha> # main to document which branch the SHA was taken from, making it easy to verify and update the pin later. This line is the only one missing that annotation, reducing traceability consistency across the workflow files.

Suggested change
uses: cap-java/.github/.github/workflows/release.yml@b5eb1ad6341e9fd1d681c42f3b36c4b750a7dac2
uses: cap-java/.github/.github/workflows/release.yml@b5eb1ad6341e9fd1d681c42f3b36c4b750a7dac2 # main

Double-check suggestion before committing. Edit this comment for amendments.


Please provide feedback on the review comment by checking the appropriate box:

  • 🌟 Awesome comment, a human might have missed that.
  • ✅ Helpful comment
  • 🤷 Neutral
  • ❌ This comment is not helpful

Comment on lines +9 to +16
uses: cap-java/.github/.github/workflows/release.yml@b5eb1ad6341e9fd1d681c42f3b36c4b750a7dac2
with:
java-version: '17'
blackduck-project-name: com.sap.cds.cds-ai
blackduck-included-modules: cds-feature-ai-core,cds-feature-recommendations,cds-starter-ai
build-maven-args: "-P '!with-integration-tests'"
deploy-maven-profiles: "deploy-release,'!with-integration-tests'"
secrets: inherit
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.

2 participants