ci-hardener
Installation
SKILL.md
CI Hardener
Optimize and harden Continuous Integration (CI) workflows.
Workflow
-
Audit Current Workflows List all workflows in
.github/workflows/. Identify:- Triggers: Are they correct (push, pull_request)?
- Jobs: Are they parallelized?
- Steps: Are they caching dependencies?
-
Apply Hardening Patterns
- Caching: Use
actions/setup-nodewithcache: 'npm'. - Timeouts: Set
timeout-minuteson every job to prevent hangs. - Concurrency: Use
concurrencygroups to cancel outdated runs on PRs. - Permissions: Use least-privilege
permissionsblocks.
- Caching: Use