Skip to content

Update ci.yml#281

Merged
guibranco merged 1 commit into
mainfrom
guibranco-patch-1
May 18, 2026
Merged

Update ci.yml#281
guibranco merged 1 commit into
mainfrom
guibranco-patch-1

Conversation

@guibranco
Copy link
Copy Markdown
Owner

@guibranco guibranco commented May 18, 2026

📑 Description

Closes #280

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

☢️ Does this introduce a breaking change?

  • Yes
  • No

Summary by Sourcery

Update CI workflow to publish both full semantic version and major-version GitHub releases when distribution changes or the workflow is manually dispatched.

Build:

  • Adjust release step naming to clarify that the primary tag uses the full semantic version.
  • Add a second release step to create and publish a major-version (v) GitHub release tag alongside the full semantic version release.

CI:

  • Extend the CI release workflow to generate and update a major-version release tag in addition to the existing full semantic version tag.

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 18, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR adjusts the CI workflow to produce two types of GitHub releases from GitVersion output: a full semantic version release and an additional major-version-only release tag, without changing triggering conditions.

File-Level Changes

Change Details Files
Extend release workflow to create both full semantic version and major-only GitHub releases from GitVersion output.
  • Rename the existing release job step to clarify that it uses the full semantic version (fullSemVer) for the tag and name.
  • Add a second release-action step that runs under the same conditions to create or update a major-version-only tag (v) and corresponding release.
  • Configure the new major-version release to allow updates, always generate release notes, and to not mark the release as latest.
.github/workflows/ci.yml

Assessment against linked issues

Issue Objective Addressed Explanation
#280 Add automation so that on release, a major-version tag (e.g., v1) is created or updated to point to the latest release of that major version, enabling users to reference the action as @v1.

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@guibranco guibranco enabled auto-merge (squash) May 18, 2026 16:07
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Warning

Rate limit exceeded

@guibranco has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 2 minutes and 12 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b383d208-6e92-482e-b7fc-fcc14705c5b6

📥 Commits

Reviewing files that changed from the base of the PR and between f695229 and 1e94158.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch guibranco-patch-1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gstraccini gstraccini Bot added the ☑️ auto-merge Automatic merging of pull requests (gstraccini-bot) label May 18, 2026
@github-actions github-actions Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 18, 2026
@gstraccini gstraccini Bot added the enhancement New feature or request label May 18, 2026
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • The new major-version release step duplicates most of the configuration from the fullSemVer release step; consider extracting shared settings via a reusable action or YAML anchors to reduce maintenance overhead and keep the two in sync.
  • The Update latest tag step only checks steps.create_release.outputs.id, so if the major-version release runs but the fullSemVer one is skipped or fails, the latest tag logic might not behave as expected; consider clarifying which release step should drive the latest tag update or aggregating their outputs explicitly.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The new major-version release step duplicates most of the configuration from the fullSemVer release step; consider extracting shared settings via a reusable action or YAML anchors to reduce maintenance overhead and keep the two in sync.
- The `Update latest tag` step only checks `steps.create_release.outputs.id`, so if the major-version release runs but the fullSemVer one is skipped or fails, the latest tag logic might not behave as expected; consider clarifying which release step should drive the `latest` tag update or aggregating their outputs explicitly.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@guibranco guibranco disabled auto-merge May 18, 2026 16:10
@guibranco guibranco merged commit 7763935 into main May 18, 2026
25 of 26 checks passed
@guibranco guibranco deleted the guibranco-patch-1 branch May 18, 2026 16:10
@guibranco guibranco restored the guibranco-patch-1 branch May 18, 2026 16:12
@penify-dev
Copy link
Copy Markdown

penify-dev Bot commented May 18, 2026

Failed to generate code suggestions for PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

☑️ auto-merge Automatic merging of pull requests (gstraccini-bot) enhancement New feature or request size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can you add a v1 tag?

1 participant