From 61732537ce32c7c5afd04e977cc5a8b460dd1fde Mon Sep 17 00:00:00 2001 From: Sebastian Florek Date: Thu, 19 Dec 2024 14:16:18 +0100 Subject: [PATCH] set plural up to main branch by default --- .github/workflows/e2e.yaml | 10 ++-------- pkg/up/generate.go | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index f58298b7..e644dce8 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -1,11 +1,7 @@ name: E2E on: - push: - branches: - - main - pull_request: - branches: - - main + schedule: + - cron: 0 0 * * 1-5 # At 00:00 on every day-of-week from Monday through Friday workflow_dispatch: permissions: id-token: write @@ -28,7 +24,6 @@ env: jobs: plural-up-aws: name: plural up / AWS - if: false permissions: contents: 'read' id-token: 'write' @@ -248,7 +243,6 @@ jobs: filename: rest_results.html plural-up-azure: name: plural up / Azure - if: false runs-on: ubuntu-24.04 steps: - name: Checkout diff --git a/pkg/up/generate.go b/pkg/up/generate.go index de66d502..7ae2dff8 100644 --- a/pkg/up/generate.go +++ b/pkg/up/generate.go @@ -24,7 +24,7 @@ func (ctx *Context) Generate() (dir string, err error) { return } - if err = git.PathClone("https://github.com/pluralsh/bootstrap.git", "template-branch", dir); err != nil { + if err = git.PathClone("https://github.com/pluralsh/bootstrap.git", "main", dir); err != nil { return }