CI011#

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

Bases: CICD

The check-actions-security action is used.

Overview#

check

Return whether the check-actions-security action is used.

Import detail#

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

Method detail#

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

Return whether the check-actions-security action is used.