From d339c7340ecbd32a397e7a630748440982861d55 Mon Sep 17 00:00:00 2001 From: sbstjn Date: Thu, 17 Dec 2020 11:34:37 +0100 Subject: [PATCH 1/3] feat: extends headline --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d796ba8..3aae31e2 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# CDK Template +# GitHub Template for AWS CDK projects From eef91db616cbf4fa918cf1455fbe8ea2c9f008af Mon Sep 17 00:00:00 2001 From: sbstjn Date: Thu, 17 Dec 2020 11:35:38 +0100 Subject: [PATCH 2/3] fix: do not run jobs twice --- .github/workflows/integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 054adfc8..ed16b031 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -1,6 +1,6 @@ name: Integration -on: [push, pull_request] +on: [push] jobs: build: From c4c9e7fb7d000a24d5aa829ff390bccc71a0e29b Mon Sep 17 00:00:00 2001 From: sbstjn Date: Thu, 17 Dec 2020 11:36:42 +0100 Subject: [PATCH 3/3] feat: version job only for main branch --- .github/workflows/integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index ed16b031..12f45cd4 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -41,14 +41,14 @@ jobs: - run: yarn test version: runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' needs: - build - test steps: - uses: actions/checkout@v2 - - if: github.ref == 'refs/heads/main' - uses: cycjimmy/semantic-release-action@v2 + - uses: cycjimmy/semantic-release-action@v2 name: Semantic Release timeout-minutes: 2 id: semantic