Module: Dependabot::GithubActions

Defined in:
lib/dependabot/github_actions/helpers.rb,
lib/dependabot/github_actions/version.rb,
lib/dependabot/github_actions/constants.rb,
lib/dependabot/github_actions/file_parser.rb,
lib/dependabot/github_actions/requirement.rb,
lib/dependabot/github_actions/file_fetcher.rb,
lib/dependabot/github_actions/file_updater.rb,
lib/dependabot/github_actions/update_checker.rb,
lib/dependabot/github_actions/metadata_finder.rb,
lib/dependabot/github_actions/package_manager.rb,
lib/dependabot/github_actions/package/package_details_fetcher.rb,
lib/dependabot/github_actions/update_checker/latest_version_finder.rb

Defined Under Namespace

Modules: Helpers, Package Classes: FileFetcher, FileParser, FileUpdater, MetadataFinder, PackageManager, Requirement, UpdateChecker, Version

Constant Summary collapse

GITHUB_COM =

Reference to the GitHub.com domain

T.let("github.com", String)
GITHUB_REPO_REFERENCE =

Regular expression to match a GitHub repository reference

T.let(
  %r{
        ^(?<owner>[\w.-]+)/
        (?<repo>[\w.-]+)
        (?<path>/[^\@]+)?
        @(?<ref>.+)
      }x,
  Regexp
)
ECOSYSTEM =

The ecosystem name for GitHub Actions

T.let("github_actions", String)
MANIFEST_FILE_PATTERN =

The pattern to match manifest files

/\.ya?ml$/
MANIFEST_FILE_YML =

The name of the manifest file

T.let("action.yml", String)
MANIFEST_FILE_YAML =

The name of the manifest file

T.let("action.yaml", String)
ANYTHING_YML =

The pattern to match any .yml or .yaml file

T.let("<anything>.yml", String)
WORKFLOW_DIRECTORY =

The path to the workflow directory

T.let(".github/workflows", String)
CONFIG_YMLS =

The path to the config .yml file

T.let("#{WORKFLOW_DIRECTORY}/#{ANYTHING_YML}".freeze, String)
OWNER_KEY =
T.let("owner", String)
REPO_KEY =
T.let("repo", String)
PATH_KEY =
T.let("path", String)
REF_KEY =
T.let("ref", String)
USES_KEY =
T.let("uses", String)
STEPS_KEY =
T.let("steps", String)