You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Extract commit validation and action pin check into reusable org-level GitHub Actions #51
Extract validate_commit_msg.py and check_action_pins.py (with their test suites) into standalone, reusable GitHub Actions hosted in separate vig-os org repositories. This enables consistent enforcement of commit message standards and SHA pinning policy across all org repositories.
Problem Statement
Currently, validate_commit_msg.py and check_action_pins.py live inside the devcontainer repository. Any other vig-os repository that wants the same enforcement must copy these scripts manually, leading to drift and duplicated maintenance.
Proposed Solution
Create vig-os/action-validate-commit-msg
Publish as a composite GitHub Action
Accept inputs for custom commit message patterns (optional override)
Include the test suite for CI on the action repo itself
Version with semantic tags (e.g. v1, v1.0.0)
Create vig-os/action-check-action-pins
Publish as a composite GitHub Action
Accept inputs for repo root path and verbosity
Include the test suite for CI on the action repo itself
Version with semantic tags
Update devcontainer to consume the new actions
Replace local script invocations in .pre-commit-config.yaml and test-project/action.yml with the published actions (SHA-pinned, naturally)
Keep local scripts as thin wrappers or remove them entirely
Alternatives Considered
Monorepo for all org actions: Simpler repo management but harder to version independently.
Keep scripts local, copy to other repos: Current state; does not scale.
Additional Context
Both scripts are self-contained Python with no external dependencies beyond the standard library
Pre-commit hooks can reference remote repos, so the actions could also serve as pre-commit hook sources
Impact
Beneficiaries: All vig-os repositories
Compatibility: Non-breaking; existing repos adopt at their own pace
Activity
docs: update CHANGELOG
feat(vig-utils): create reusable CLI utilities package
ci: migrate scripts to vig-utils package CLI
chore: remove deprecated python modules
build: integrate vig-utils and security tooling
chore: remove outdated test-release-cycle recipe
build: include packages directory in build folder
test: add vig-utils package installation and version tests
chore: add __init__.py to coverage omit list
feat(vigutils): add configurable commit scopes validation
fix(vigutils): accept GitHub auto-linked issue refs in commit validation
feat(vigutils): make scope optional and allow multiple scopes
docs: update CHANGELOG
chore: release 0.3.0 (#270)