Class: Dependabot::GithubActions::FileFetcher
- Inherits:
-
FileFetchers::Base
- Object
- FileFetchers::Base
- Dependabot::GithubActions::FileFetcher
- Defined in:
- lib/dependabot/github_actions/file_fetcher.rb
Class Method Summary collapse
Class Method Details
.required_files_in?(filenames) ⇒ Boolean
9 10 11 |
# File 'lib/dependabot/github_actions/file_fetcher.rb', line 9 def self.required_files_in?(filenames) filenames.any? { |f| f == ".github" } end |
.required_files_message ⇒ Object
13 14 15 |
# File 'lib/dependabot/github_actions/file_fetcher.rb', line 13 def self. "Repo must contain a .github/workflows repo with YAML files." end |