Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use RepoConfig#signoffCommits for migrations and hooks #3576

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

fthomas
Copy link
Member

@fthomas fthomas commented Feb 3, 2025

This uses RepoConfig#signoffCommits for Scalafix migrations and post-update hooks commits and removes the signoffCommits fields from PostUpdateHook and ScalafixMigration (which were added in #3432). The latter fields concealed that RepoConfig#signoffCommits was partially ignored for post-update hooks and completely ignored for Scalafix migrations.

This uses `RepoConfig#signoffCommits` for Scalafix migrations and
post-update hooks commits and removes the `signoffCommits` fields
from `PostUpdateHook` and `ScalafixMigration`. The latter fields
concealed that `RepoConfig#signoffCommits` was partially ignored
for post-update hooks and completely ignored for Scalafix
migrations.
@fthomas fthomas added the bug Something isn't working label Feb 3, 2025
@fthomas fthomas added this to the 0.33.0 milestone Feb 3, 2025
Copy link

codecov bot commented Feb 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.80%. Comparing base (8cb08ea) to head (f8904f7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3576      +/-   ##
==========================================
- Coverage   89.82%   89.80%   -0.03%     
==========================================
  Files         174      174              
  Lines        5043     5031      -12     
  Branches      493      493              
==========================================
- Hits         4530     4518      -12     
  Misses        513      513              

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

Copy link
Member

@mzuehlke mzuehlke left a comment

Choose a reason for hiding this comment

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

Good catch 👍

@fthomas fthomas merged commit f3418e9 into main Feb 3, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants