Skip to content

Fix signing of commits#19

Merged
Sajjon merged 4 commits intomainfrom
fix-sign-commits-attempt3
Jul 8, 2025
Merged

Fix signing of commits#19
Sajjon merged 4 commits intomainfrom
fix-sign-commits-attempt3

Conversation

@Sajjon
Copy link
Copy Markdown
Owner

@Sajjon Sajjon commented Jul 8, 2025

No description provided.

@Sajjon Sajjon requested a review from Copilot July 8, 2025 14:19

This comment was marked as outdated.

@Sajjon Sajjon requested a review from Copilot July 8, 2025 14:31
Copy link
Copy Markdown
Contributor

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 PR streamlines the release process by removing the old cargo-release configuration and switching to cargo-set-version for version bumps while ensuring commits are properly signed by the bot.

  • Drops the .release.toml file and all cargo-release settings.
  • Updates the GitHub Actions workflow to install cargo-edit, bump versions with cargo set-version, and handle bot identity during commits.
  • Adds a conditional to skip empty commits when no version change is detected.

Reviewed Changes

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

File Description
.release.toml Removed legacy cargo-release configuration.
.github/workflows/release.yml Replaced cargo-release steps with cargo-edit, set up Git identity, and added conditional commit logic.
Comments suppressed due to low confidence (2)

.github/workflows/release.yml:84

  • To ensure commits are GPG-signed in CI, add git config commit.gpgsign true and specify the signing key (e.g., git config user.signingkey <KEY_ID>) before the git commit step.
          git config user.name "github-actions[bot]"

.github/workflows/release.yml:72

  • [nitpick] Consider caching the cargo-edit installation (using actions/cache or a pre-built tool container) to speed up workflow runs and avoid reinstalling on every execution.
        run: cargo install cargo-edit

@Sajjon Sajjon merged commit bceb3d8 into main Jul 8, 2025
5 checks passed
@Sajjon Sajjon deleted the fix-sign-commits-attempt3 branch July 8, 2025 14:36
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.90%. Comparing base (25f6c09) to head (e5a1bbf).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #19   +/-   ##
=======================================
  Coverage   96.90%   96.90%           
=======================================
  Files          76       76           
  Lines        1650     1650           
=======================================
  Hits         1599     1599           
  Misses         51       51           

☔ View full report in Codecov by Sentry.
📢 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.

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