Skip to content

ci(semver): restore sticky PR comment for version-increment check#573

Open
sandersaares wants to merge 4 commits into
mainfrom
sandersaares/semver-sticky-comment
Open

ci(semver): restore sticky PR comment for version-increment check#573
sandersaares wants to merge 4 commits into
mainfrom
sandersaares/semver-sticky-comment

Conversation

@sandersaares

Copy link
Copy Markdown
Member

The semver version-increment check posted a fresh PR comment on every push, cluttering PRs with duplicate comments (e.g. #570).

This restores the marocchino/sticky-pull-request-comment action (keyed by the semver-check header) that the job used previously, so the per-crate report is maintained as a single sticky comment that is updated in place on each push instead of a new comment every time.

The semver-check job posted a fresh PR comment on every push, cluttering PRs with duplicates. Restore the marocchino/sticky-pull-request-comment action (header: semver-check) so the per-crate report is maintained as a single comment updated in place.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 69895436-a324-4370-b552-22d64a3369e4
Copilot AI review requested due to automatic review settings July 14, 2026 10:56

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

Restores “sticky” behavior for the semver version-increment report in CI so that PRs get a single updated comment instead of a new comment on every push, reducing PR timeline noise.

Changes:

  • Update the semver job description to reflect sticky comment behavior.
  • Replace gh pr comment with marocchino/sticky-pull-request-comment keyed by the semver-check header.

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

Comment thread .github/workflows/main.yml Outdated
The version-increment verdict stays informational (an under-increment never fails the build), but the check must actually execute: drop continue-on-error from the Semver Report step so an operational failure blocks and gets fixed rather than being silently skipped.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 69895436-a324-4370-b552-22d64a3369e4
Copilot AI review requested due to automatic review settings July 14, 2026 11:05

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.0%. Comparing base (2cf0ffe) to head (66a2d4b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #573   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files         360      360           
  Lines       27886    27886           
=======================================
  Hits        27886    27886           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sandersaares sandersaares enabled auto-merge (squash) July 14, 2026 14:19
Copilot AI review requested due to automatic review settings July 14, 2026 14:19

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/main.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 14, 2026 14:37

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment on lines 264 to +268
if: steps.report.outputs.publishing == 'true' && github.event.pull_request.head.repo.full_name == github.repository
env:
GH_TOKEN: ${{ github.token }}
run: gh pr comment ${{ github.event.pull_request.number }} --body-file semver-comment.md
uses: marocchino/sticky-pull-request-comment@468942ec889968f45256a969e13c75bc7cdec2b6 # v3.0.4
with:
header: semver-check
path: semver-comment.md
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