Shared workflows and org-level defaults for 1mb-dev.
Lint, test, security scan, and build for Go projects.
# In your repo's .github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
ci:
uses: 1mb-dev/.github/.github/workflows/ci-go.yml@mainInputs (all optional):
| Input | Default | Description |
|---|---|---|
go-versions |
["1.24", "1.25"] |
Go versions to test against |
lint-go-version |
1.25 |
Go version for linting |
golangci-lint-version |
v2.7.1 |
golangci-lint version |
coverage-threshold |
0 |
Min coverage % (0 = skip) |
run-security |
true |
Run govulncheck |
build-binary |
"" |
Main package path (empty = skip) |
Lint, test, build, and security audit for Node.js/TypeScript projects.
name: CI
on: [push, pull_request]
jobs:
ci:
uses: 1mb-dev/.github/.github/workflows/ci-node.yml@mainInputs (all optional):
| Input | Default | Description |
|---|---|---|
node-versions |
["20", "22"] |
Node versions to test against |
lint-node-version |
22 |
Node version for linting |
run-audit |
true |
Run npm audit |
run-build |
true |
Run npm run build |
Auto-merges patch and minor dependency updates when CI passes.
name: Dependabot auto-merge
on: pull_request
jobs:
auto-merge:
uses: 1mb-dev/.github/.github/workflows/dependabot-auto-merge.yml@mainPrerequisite: Enable "Allow auto-merge" in repo settings.
profile/README.md is displayed on the 1mb-dev org page.