Skip to content

fix(setup-bazel-cache): make step summaries opt-in - #49

Merged
lurtz merged 1 commit into
mainfrom
steward/eclipse-score-cicd-actions/work-9937b6cb2f7b
Oct 15, 2026
Merged

lurtz merged 1 commit into
mainfrom
steward/eclipse-score-cicd-actions/work-9937b6cb2f7b

Conversation

@AlexanderLanin

Copy link
Copy Markdown
Member

Why

Stop setup-bazel-cache from automatically writing cache reports to the GitHub Actions step summary. Enabled reports remain available in the job log, and users can opt in to step summaries with report-cache-step-summary: true.

Change the input default to false and update the README and reference documentation. Add coverage for the default and explicit false behavior, and retain summary coverage with explicit true.

Closes #45

AI analyzed #45 and selected it for automated implementation. This PR is the result of that implementation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The implementation, documentation, and tests consistently reflect the requested opt-in behavior.

0 open findings

What changed in this PR

Makes Bazel cache step summaries opt-in while preserving reports in job logs.

Changes:

  • Changes the summary input default to false.
  • Updates documentation for opt-in behavior.
  • Adds default, explicit-disable, and explicit-enable test coverage.
File Description
setup-bazel-cache/​action.yml Changes the input default to false.
setup-bazel-cache/​src/​report.js Clarifies the input’s optional behavior.
setup-bazel-cache/​test/​post-reporting.test.js Updates and expands summary behavior tests.
setup-bazel-cache/​README.md Documents opt-in usage.
setup-bazel-cache/​REFERENCE.md Updates the input reference.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@lurtz
lurtz merged commit 014e402 into main Oct 15, 2026
36 checks passed
@lurtz
lurtz deleted the steward/eclipse-score-cicd-actions/work-9937b6cb2f7b branch October 15, 2026 08:41
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.

drop automatic step summary from setup-bazel-cache

3 participants