GitHub Actions



ag -g '\.ya?ml$' | xargs -t -I{} -P $(nproc) command {}
git ls-files | grep -E '\.ya?ml$' | xargs -t -I{} -P $(nproc) command {} 使
<del> ( find . -name '*.yml' ; find . -name '*.yaml' ) | xargs -t -I{} -P $(nproc) command {} 使</del>

lint
actionlint
$ actionlint

"on":
workflow_call:
inputs:
?
secrets:
?
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- ?
"on":
push:
branches: [main]
jobs:
lint:
uses: ./.github/workflows/workflow-lint.yml
with:
?: ?
secrets:
?: ${{ secrets.? }}