Add flag to make changes a pull request
In most scenarios it's preferable to work off of PRs rather than committing directly to the repo.
argocd-autopilot app create example app=github.com/example.com --pull-request
Likewise, we should support dry-run to export what the files would be.
argocd-autopilot app create example app=github.com/example.com --dry-run
Hey @todaywasawesome, that's could be a nice feature, but just so you know you can specify a different branch today for your gitops repo, for example: https://github.com/roi-codefresh/my-gitops-repo.git?ref=added-app-xyz then if you add the --upsert-branch to your app create command it would:
clone the repo
-> checkout from the main branch to the added-app-xyz branch
-> push the changes to: origin/added-app-xyz
Then in the github UI you will see an option to create a PR from added-app-xyz to main.
That's a nice workaround in the meantime! Thanks!