Skip to content

Commit

Permalink
Merge pull request #6961 from dependabot/brrygrdn/extract-fresh-secur…
Browse files Browse the repository at this point in the history
…ity-update-operation

[Updater] Extract UpdateVulnerableVersion as an Operation class
  • Loading branch information
brrygrdn committed Apr 18, 2023
2 parents 7dc0dac + 93b310e commit 797c9fd
Show file tree
Hide file tree
Showing 4 changed files with 425 additions and 0 deletions.
2 changes: 2 additions & 0 deletions updater/lib/dependabot/updater/operations.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

require "dependabot/updater/operations/create_security_update_pull_request"
require "dependabot/updater/operations/group_update_all_versions"
require "dependabot/updater/operations/refresh_version_update_pull_request"
require "dependabot/updater/operations/update_all_versions"
Expand Down Expand Up @@ -27,6 +28,7 @@ module Operations
# specific preconditions go before those with more permissive checks.
OPERATIONS = [
GroupUpdateAllVersions,
CreateSecurityUpdatePullRequest,
RefreshVersionUpdatePullRequest,
UpdateAllVersions
]
Expand Down
Loading

0 comments on commit 797c9fd

Please sign in to comment.