CI016#

class src.ansys.pre_commit_hooks.quality_rules.cicd.CI016#

Bases: CICD

Actions use immutable commit SHAs instead of mutable tags.

Overview#

check

Return whether all remote action references are SHA-pinned.

Import detail#

from src.ansys.pre_commit_hooks.quality_rules.cicd import CI016

Method detail#

static CI016.check(repository_root: pathlib.Path, readme_file: str | None) → ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult#

Return whether all remote action references are SHA-pinned.