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

"github.com"
GITHUB_REPO_REFERENCE =

Regular expression to match a GitHub repository reference

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

The ecosystem name for GitHub Actions

"github_actions"
MANIFEST_FILE_PATTERN =

The pattern to match manifest files

/\.ya?ml$/
MANIFEST_FILE_YML =

The name of the manifest file

"action.yml"
MANIFEST_FILE_YAML =

The name of the manifest file

"action.yaml"
ANYTHING_YML =

The pattern to match any .yml or .yaml file

"<anything>.yml"
WORKFLOW_DIRECTORY =

The path to the workflow directory

".github/workflows"
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

"actions.lock"
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.

"v0.0.2"
OWNER_KEY =
"owner"
REPO_KEY =
"repo"
PATH_KEY =
"path"
REF_KEY =
"ref"
USES_KEY =
"uses"
STEPS_KEY =
"steps"