From c0bb4b9c923c0d605a773f1b97be8ceaaa2bf916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20S=C3=B6derlund?= Date: Sat, 5 Apr 2025 22:02:47 +0200 Subject: [PATCH] Updated the example template "create-app" to include defaultBranch: 'main' when publishing to github MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: David Söderlund --- .../templates/default-app/examples/template/template.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/create-app/templates/default-app/examples/template/template.yaml b/packages/create-app/templates/default-app/examples/template/template.yaml index 33f262b49c..cfba98e878 100644 --- a/packages/create-app/templates/default-app/examples/template/template.yaml +++ b/packages/create-app/templates/default-app/examples/template/template.yaml @@ -48,6 +48,8 @@ spec: name: ${{ parameters.name }} # This step publishes the contents of the working directory to GitHub. + # If you or your organization prefer another default branch name over 'main' + # you can change that here. - id: publish name: Publish action: publish:github @@ -55,6 +57,7 @@ spec: allowedHosts: ['github.com'] description: This is ${{ parameters.name }} repoUrl: ${{ parameters.repoUrl }} + defaultBranch: 'main' # The final step is to register our new component in the catalog. - id: register