Skip to content

Commit

Permalink
Adding the version catalog file to the update file regex (#7138)
Browse files Browse the repository at this point in the history
Reported in #7105, we aren't closing PRs when they involve the version catalog file. We use this list of regex to compare against changes in push events to determine if we should close a PR.
  • Loading branch information
pavera committed Apr 24, 2023
1 parent eaef724 commit 6c803a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/lib/dependabot/gradle/file_updater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class FileUpdater < Dependabot::FileUpdaters::Base
SUPPORTED_BUILD_FILE_NAMES = %w(build.gradle build.gradle.kts).freeze

def self.updated_files_regex
[/^build\.gradle(\.kts)?$/, %r{/build\.gradle(\.kts)?$}]
[/^build\.gradle(\.kts)?$/, %r{/build\.gradle(\.kts)?$}, %r{/gradle/libs\.versions\.toml$}]
end

def updated_dependency_files
Expand Down

0 comments on commit 6c803a6

Please sign in to comment.