Module: Dependabot::GithubActions

Defined in:
lib/dependabot/github_actions/helpers.rb,
lib/dependabot/github_actions/version.rb,
lib/dependabot/github_actions/lockfile.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/lockfile/env.rb,
lib/dependabot/github_actions/update_checker.rb,
lib/dependabot/github_actions/lockfile/errors.rb,
lib/dependabot/github_actions/lockfile/reader.rb,
lib/dependabot/github_actions/metadata_finder.rb,
lib/dependabot/github_actions/package_manager.rb,
lib/dependabot/github_actions/lockfile/cli_engine.rb,
lib/dependabot/github_actions/lockfile/version_gate.rb,
lib/dependabot/github_actions/containing_branch_finder.rb,
lib/dependabot/github_actions/package/package_details_fetcher.rb,
lib/dependabot/github_actions/update_checker/latest_version_finder.rb

Defined Under Namespace

Modules: ContainingBranchFinder, Helpers, Lockfile, 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)
LOCKFILE_NAME =

The basename of the per-repo Actions lockfile generated by gh-actions-lock

T.let("actions.lock", String)
LOCKFILE_PATH =

The repo-relative path to the Actions lockfile

T.let("#{WORKFLOW_DIRECTORY}/#{LOCKFILE_NAME}".freeze, String)
SUPPORTED_LOCKFILE_VERSION =

The only lockfile schema version this ecosystem understands.

T.let("v0.0.2", 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)