Quickstart
This takes about five minutes on a repository that already has a GitHub remote.
-
Run the wizard in the repository root (Node.js 20.12 or later):
Terminal window npx project-auto-wizardIt detects the project type from marker files (
build.gradle,pubspec.yaml,package.json,go.mod, …), then asks about the branch strategy, the deploy style if your type has server deploys, automatic semver, and whether to use Copilot for summaries. Accept the defaults if you are unsure; every choice is saved inversion.ymland can be changed later. -
Check the result before committing:
Terminal window npx project-auto-wizard --mode doctordoctorchecks the repository settings the workflows depend on (workflow permissions, merge commits,WORKFLOW_PAT) and tells you what to change and where. -
Commit and push the generated files —
.github/workflows/,.github/scripts/,version.ymland the README version section:Terminal window git add .github version.yml README.md .gitignoregit commit -m "chore: add release automation"git push -
Open a release PR from
developtomainonce there is something to release. TheAUTO-CHANGELOG-CONTROLworkflow confirms the next version, posts the release notes as a PR comment, updatesCHANGELOG.md/CHANGELOG.jsonand enables automerge. -
Check the release. After the merge,
RELEASE-PUBLISHpushes thevX.Y.Ztag, creates the GitHub Release and updates the README version line.
Non-interactive install
Section titled “Non-interactive install”For CI or scripts, pass --mode full --force and the types:
npx project-auto-wizard --mode full --force --type spring,reactnpx project-auto-wizard --mode full --force --type flutter --paths "flutter=app"npx project-auto-wizard --mode full --force --type node --dry-run # preview only, writes nothingWithout --develop-branch, a non-interactive run uses develop and creates and pushes it if it does not exist. Pass the same value as --main-branch to use the trunk-based strategy instead. See Branch strategies.
After installing
Section titled “After installing”| Item | What to do |
|---|---|
| Workflow permissions | No change needed. The installed workflows declare their own permissions. Raise Settings → Actions → General → Workflow permissions to Read and write permissions only if your own workflows rely on the default. |
| Merge commits | Allow merge commits so the release PR can automerge. |
WORKFLOW_PAT (optional) |
Without it, a GITHUB_TOKEN fallback finishes the release, including the deploy workflows on the release branch, up to about 20 seconds later. If you add one, issue it from a bot or machine account, not a personal one (scopes: repo, workflow). |
| Copilot summaries (optional) | Off by default. Uses GitHub Copilot AI Credits; organizations must allow Copilot CLI billed to the organization. See Summary engine. |
| Type secrets | Deploy workflows need secrets such as DOCKERHUB_TOKEN or SERVER_HOST. The install summary lists the ones your workflows need; each project type page has the full table. |