From 72276256c595dd23a27f205a90da37b444819748 Mon Sep 17 00:00:00 2001 From: Scott Leggett Date: Fri, 21 Aug 2026 15:30:49 +0800 Subject: [PATCH] chore: update setup steps --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6b4e951..2478326 100644 --- a/README.md +++ b/README.md @@ -49,13 +49,10 @@ Then push some code to main: git remote add origin git@github.com:smlx/newproject.git git add . git commit -am 'chore: create repository from template' - git push -u origin main ``` Then customize the code for your repository: -1. Check out a new branch to set up the repo `git checkout -b setup main` - 1. Update the code for your project: * rename `cmd/go-cli-github` to `cmd/$YOUR_COMMAND` @@ -81,9 +78,17 @@ Then customize the code for your repository: ```bash git add . git commit -am 'chore: update template for new project' + git push -u origin main + ``` + +1. Open a test PR, ensure all checks go green, then merge the PR. If workflows aren't green, commit and push to the branch until they are. + + ```bash + git checkout -b setup main + git commit -m 'chore: test PR workflows' --allow-empty git push -u origin setup + gh pr create --fill ``` -1. Open a PR, wait until all the checks go green, then merge the PR. Configure the repository: