Skip to content

Commit

Permalink
docs: improve the docstring of ArtifactPipelineCheck
Browse files Browse the repository at this point in the history
Signed-off-by: behnazh-w <[email protected]>
  • Loading branch information
behnazh-w committed Oct 29, 2024
1 parent 3bbbe48 commit e592c5d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,12 @@ class ArtifactPipelineFacts(CheckFacts):
class ArtifactPipelineCheck(BaseCheck):
"""This check detects a pipeline from which an artifact is published.
This check depends on the deploy command identified by the ``mcn_build_as_code_1 check``.
If a deploy command is detected, this check will attempt to locate a successful CI
pipeline that triggered the step containing the deploy command.
When a verifiable provenance is found for an artifact, we use it to obtain the pipeline trigger.
Otherwise, we use heuristics to check whether a CI workflow run has automatically published the artifact.
Otherwise, we use heuristics to find the triggering pipeline.
We use several heuristics in this check for inference:
Expand Down

0 comments on commit e592c5d

Please sign in to comment.