The ``cicd.py`` module ====================== .. py:module:: src.ansys.pre_commit_hooks.quality_rules.cicd Summary ------- .. py:currentmodule:: cicd .. tab-set:: .. tab-item:: Classes .. list-table:: :header-rows: 0 :widths: auto * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CICD` - CI/CD rule family. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI001` - At least one workflow file exists under .github/workflows. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI002` - A labeler action is used in the workflows. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI003` - The check-vulnerabilities action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI004` - The code-style action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI005` - The doc-changelog action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI006` - The doc-style action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI007` - The doc-build action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI008` - The build-wheelhouse action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI009` - The tests-pytest action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI010` - The release-github action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI011` - The check-actions-security action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI012` - The build-library action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI013` - The doc-deploy-dev action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI014` - The doc-deploy-stable action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI015` - The doc-deploy-changelog action is used. * - :py:obj:`~src.ansys.pre_commit_hooks.quality_rules.cicd.CI016` - Actions use immutable commit SHAs instead of mutable tags. .. toctree:: :titlesonly: :maxdepth: 1 :hidden: CICD CI001 CI002 CI003 CI004 CI005 CI006 CI007 CI008 CI009 CI010 CI011 CI012 CI013 CI014 CI015 CI016 Description ----------- CI/CD content checks. This rule set validates the GitHub Actions workflow policy for repository automation. Every ``.yml`` and ``.yaml`` file directly under ``.github/workflows`` is searched as text. The checks cover: * At least one workflow file exists * Required ``ansys/actions`` reusable actions are used * Action references are pinned to immutable commit SHAs .. !! processed by numpydoc !!