Loading...
Loading...
Create and audit GitHub Actions workflows. Use when adding CI/CD, reviewing workflow files, or fixing action pinning.
npx skill4agent add tartinerlabs/skills ci-cd.github/workflows/.github/workflows/*.ymlpackage.jsongo.modrequirements.txtpyproject.tomlsetup.pyCargo.tomlGemfilepnpm-lock.yamlbun.lockbun.lockbyarn.lockpackage-lock.jsonrules/<pm>name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: '<pm>'
- run: <pm> install --frozen-lockfile
- run: <pm> check
- run: <pm> test
- run: <pm> build.github/workflows/*.ymlrules/## GitHub Actions Audit Results
### HIGH Severity
- `.github/workflows/ci.yml:15` - `codecov/codecov-action@v4` → pin to commit SHA
### MEDIUM Severity
- `.github/workflows/ci.yml` - Missing concurrency group → add concurrency block
### Summary
- High: X
- Medium: Y
- Low: Z
- Files scanned: Ngh api| Rule | Severity | File |
|---|---|---|
| Action pinning | HIGH | |
| Permissions | HIGH | |
| Concurrency | MEDIUM | |
| Node version | MEDIUM | |
| Caching | MEDIUM | |
| Triggers | LOW | |
| Matrix strategy | LOW | |
gh