Class: Dependabot::GithubActions::FileParser
- Inherits:
-
FileParsers::Base
- Object
- FileParsers::Base
- Dependabot::GithubActions::FileParser
- Defined in:
- lib/dependabot/github_actions/file_parser.rb
Constant Summary collapse
- GITHUB_REPO_REFERENCE =
%r{ (?<owner>[\w.-]+)/ (?<repo>[\w.-]+) (?<path>/[^\@]+)? @(?<ref>.+) }x.freeze
Instance Method Summary collapse
Instance Method Details
#parse ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/dependabot/github_actions/file_parser.rb', line 25 def parse dependency_set = DependencySet.new workflow_files.each do |file| dependency_set += workfile_file_dependencies(file) end dependency_set.dependencies end |