Skip to content

Commit

Permalink
Remove rubygems_mfa_required setting and disable RequireMFA cop
Browse files Browse the repository at this point in the history
This setting was introduced automatically by the aforementioned rubocop cop,which makes it impossible to publish to rubygems automatically from a Githubaction with an API key, since one would always need the second factor.
  • Loading branch information
ayushpoddar committed Jul 12, 2024
1 parent 24e402c commit e55bcba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ Metrics/CyclomaticComplexity:
Metrics/PerceivedComplexity:
Max: 8

Gemspec/RequireMFA:
Enabled: false

# TODO -----------------------------------------------------------------

Style/Documentation:
Expand Down
1 change: 0 additions & 1 deletion colorls.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,4 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rubocop-rspec', '~> 2.20.0'
spec.add_development_dependency 'rubygems-tasks', '~> 0'
spec.add_development_dependency 'simplecov', '~> 0.22.0'
spec.metadata['rubygems_mfa_required'] = 'true'
end

0 comments on commit e55bcba

Please sign in to comment.