Skip to content

PREQ-4284 Add generate-summary input to build-maven action#222

Merged
SamirM-BE merged 1 commit intomasterfrom
claude/task/f708cebf
Feb 20, 2026
Merged

PREQ-4284 Add generate-summary input to build-maven action#222
SamirM-BE merged 1 commit intomasterfrom
claude/task/f708cebf

Conversation

@nils-werner-sonarsource
Copy link
Contributor

@nils-werner-sonarsource nils-werner-sonarsource commented Feb 20, 2026

Summary

  • Add a generate-summary input (default 'true') to build-maven/action.yml so users can disable the workflow summary step by setting it to 'false'
  • Update the "Generate workflow summary" step's if: condition to respect the new input

Test plan

  • Verify default behavior unchanged (summary still generated when input is omitted)
  • Set generate-summary: 'false' and confirm the summary step is skipped

Test Results

Default behavior: https://github.com/SonarSource/sonar-pli/actions/runs/22218128717?pr=286
Disabled summary: https://github.com/SonarSource/sonar-pli/actions/runs/22218203043?pr=286

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nils-werner-sonarsource nils-werner-sonarsource requested a review from a team as a code owner February 20, 2026 09:03
Copilot AI review requested due to automatic review settings February 20, 2026 09:03
@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title Add generate-summary input to build-maven action PREQ-4284 Add generate-summary input to build-maven action Feb 20, 2026
@hashicorp-vault-sonar-prod
Copy link

hashicorp-vault-sonar-prod bot commented Feb 20, 2026

PREQ-4284

@sonarqubecloud
Copy link

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds an optional generate-summary input to the build-maven GitHub Action, allowing users to disable the automatic workflow summary generation step.

Changes:

  • Added generate-summary input parameter with default value 'true' to maintain backward compatibility
  • Updated the "Generate workflow summary" step condition to respect the new input, skipping it when set to 'false'

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

@SamirM-BE SamirM-BE merged commit 829a4d8 into master Feb 20, 2026
19 checks passed
@SamirM-BE SamirM-BE deleted the claude/task/f708cebf branch February 20, 2026 13:38
julien-carsique-sonarsource added a commit that referenced this pull request Mar 3, 2026
- Add `$GITHUB_JOB` to the ## heading in all build and promote summaries so jobs sharing the same action are distinguishable
- Add missing `generate-summary` input to build-gradle, build-npm, build-poetry, build-yarn (was already present in build-maven). Generalize #222
- Fix bug: build-npm/poetry/yarn summary checked non-existent output `should-deploy`; corrected to `deployed`. Fix #136
- Fix build-yarn: missing blank lines before outputs: and summary step

Update README for workflow summary changes

- Document `generate-summary` input in build-maven, build-gradle, build-npm, build-poetry, and build-yarn Inputs tables
- Add "GitHub workflow job summary" entry to Features sections for build-maven, build-gradle, build-npm, build-yarn, and promote

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
julien-carsique-sonarsource added a commit that referenced this pull request Mar 3, 2026
- Add `$GITHUB_JOB` to the ## heading in all build and promote summaries so jobs sharing the same action are distinguishable
- Add missing `generate-summary` input to build-gradle, build-npm, build-poetry, build-yarn (was already present in build-maven). Generalize #222
- Fix bug: build-npm/poetry/yarn summary checked non-existent output `should-deploy`; corrected to `deployed`. Fix #136
- Fix build-yarn: missing blank lines before outputs: and summary step

Update README for workflow summary changes

- Document `generate-summary` input in build-maven, build-gradle, build-npm, build-poetry, and build-yarn Inputs tables
- Add "GitHub workflow job summary" entry to Features sections for build-maven, build-gradle, build-npm, build-yarn, and promote

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
julien-carsique-sonarsource added a commit that referenced this pull request Mar 4, 2026
- Add `$GITHUB_JOB` to the ## heading in all build and promote summaries so jobs sharing the same action are distinguishable
- Add missing `generate-summary` input to build-gradle, build-npm, build-poetry, build-yarn (was already present in build-maven). Generalize #222
- Fix bug: build-npm/poetry/yarn summary checked non-existent output `should-deploy`; corrected to `deployed`. Fix #136
- Fix build-yarn: missing blank lines before outputs: and summary step

Update README for workflow summary changes

- Document `generate-summary` input in build-maven, build-gradle, build-npm, build-poetry, and build-yarn Inputs tables
- Add "GitHub workflow job summary" entry to Features sections for build-maven, build-gradle, build-npm, build-yarn, and promote

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
bwalsh434 pushed a commit that referenced this pull request Mar 4, 2026
- Add `$GITHUB_JOB` to the ## heading in all build and promote summaries so jobs sharing the same action are distinguishable
- Add missing `generate-summary` input to build-gradle, build-npm, build-poetry, build-yarn (was already present in build-maven). Generalize #222
- Fix bug: build-npm/poetry/yarn summary checked non-existent output `should-deploy`; corrected to `deployed`. Fix #136
- Fix build-yarn: missing blank lines before outputs: and summary step

Update README for workflow summary changes

- Document `generate-summary` input in build-maven, build-gradle, build-npm, build-poetry, and build-yarn Inputs tables
- Add "GitHub workflow job summary" entry to Features sections for build-maven, build-gradle, build-npm, build-yarn, and promote

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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