| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Reusable GitHub Actions workflows for Coinspect organization repositories.
General policy workflow. Detects the project type and runs the appropriate policy checks.
Repos opt in by calling this workflow:
# .github/workflows/org-policy.yml
name: org-policy
on:
pull_request:
push:
branches: [main]
jobs:
policy:
uses: coinspect/.github/.github/workflows/org-policy.yml@mainAdd a status badge to the repo README:
Node.js supply chain policy. Called automatically by org-policy.yml for Node projects.
Checks:
Requires a .npmrc in the repo root:
min-release-age=14
allow-git=none
engine-strict=trueRequires package.json to declare the npm version requirement:
{
"engines": {
"npm": ">=11.10.0"
}
}engine-strict=true combined with engines.npm causes npm to hard-error locally if a developer's npm version does not satisfy the declared requirement.
The workflow sets NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} at the job level to allow npm ci to resolve packages from private GitHub npm registries. If the repo uses only public packages this has no effect, but it is required for any repo that pulls from npm.pkg.github.com.
| Back | FazBrowse Home | New Git URL |