Shared reusable GitHub Actions workflows. Update action versions here once — all calling repos pick up the change automatically.
| Workflow | What it runs | Inputs |
|---|---|---|
security.yml |
gitleaks (secrets) + trivy (fs scan) | trivyignore (bool) |
lint-shell.yml |
shellcheck | path (string) |
lint-yaml.yml |
yamllint | config (string) |
lint-markdown.yml |
markdownlint-cli2 | glob (string) |
lint-awesome.yml |
awesome-lint | — |
jobs:
security:
uses: dchonch/actions/.github/workflows/security.yml@main
permissions:
contents: read
pull-requests: readWith a .trivyignore file in the calling repo:
jobs:
security:
uses: dchonch/actions/.github/workflows/security.yml@main
with:
trivyignore: true
permissions:
contents: read
pull-requests: readjobs:
lint-shell:
uses: dchonch/actions/.github/workflows/lint-shell.yml@main
with:
path: scripts/ # optional, defaults to entire repo
permissions:
contents: readjobs:
lint-yaml:
uses: dchonch/actions/.github/workflows/lint-yaml.yml@main
with:
config: .yamllint.yml # optional, defaults to "relaxed"
permissions:
contents: readjobs:
lint-markdown:
uses: dchonch/actions/.github/workflows/lint-markdown.yml@main
with:
glob: "docs/**/*.md" # optional, defaults to **/*.md
permissions:
contents: readjobs:
lint-awesome:
uses: dchonch/actions/.github/workflows/lint-awesome.yml@main
permissions:
contents: readEdit the pinned SHAs in .github/workflows/*.yml — all callers update on their next run.
Current pins:
actions/checkout—de0fac2e4500dabe0009e67214ff5f5447ce83dd(v6)actions/setup-node—49933ea5288caeca8642d1e84afbd3f7d6820020(v4)gitleaks/gitleaks-action—dcedce43c6f43de0b836d1fe38946645c9c638dc(v2)aquasecurity/trivy-action—57a97c7e7821a5776cebc9bb87c984fa69cba8f1(v0.35.0)