diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 054adfc8..12f45cd4 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: @@ -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 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