From 4f3290309ee7dd93943b2c6deb92c1a45e12a570 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 30 Nov 2021 09:22:17 -0800 Subject: [PATCH] Revert "disable CI/CD for draft PRs (#13784)" This reverts commit 5a22f2cf0b352517c93bc97387c356e55b5663c3. --- .github/workflows/go-cross.yml | 5 +---- .github/workflows/go-lint.yml | 5 +---- .github/workflows/go.yml | 5 +---- .github/workflows/iam-integrations.yaml | 5 +---- .github/workflows/replication.yaml | 5 +---- .github/workflows/upgrade-ci-cd.yaml | 4 +--- 6 files changed, 6 insertions(+), 23 deletions(-) diff --git a/.github/workflows/go-cross.yml b/.github/workflows/go-cross.yml index 1d83654ac..d89001a93 100644 --- a/.github/workflows/go-cross.yml +++ b/.github/workflows/go-cross.yml @@ -3,9 +3,7 @@ name: Crosscompile on: pull_request: branches: - - master - types: [opened, synchronize, reopened, ready_for_review] - + - master # This ensures that previous jobs for the PR are canceled when the PR is # updated. @@ -15,7 +13,6 @@ concurrency: jobs: build: - if: github.event.pull_request.draft == false name: Build Tests with Go ${{ matrix.go-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml index 890d9369e..e5dbf9c87 100644 --- a/.github/workflows/go-lint.yml +++ b/.github/workflows/go-lint.yml @@ -3,9 +3,7 @@ name: Linters and Tests on: pull_request: branches: - - master - types: [opened, synchronize, reopened, ready_for_review] - + - master # This ensures that previous jobs for the PR are canceled when the PR is # updated. @@ -15,7 +13,6 @@ concurrency: jobs: build: - if: github.event.pull_request.draft == false name: Go ${{ matrix.go-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9919b71f9..1104cbbbd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -3,9 +3,7 @@ name: Functional Tests on: pull_request: branches: - - master - types: [opened, synchronize, reopened, ready_for_review] - + - master # This ensures that previous jobs for the PR are canceled when the PR is # updated. @@ -15,7 +13,6 @@ concurrency: jobs: build: - if: github.event.pull_request.draft == false name: Go ${{ matrix.go-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: diff --git a/.github/workflows/iam-integrations.yaml b/.github/workflows/iam-integrations.yaml index e5588e6c8..1c1f7b74d 100644 --- a/.github/workflows/iam-integrations.yaml +++ b/.github/workflows/iam-integrations.yaml @@ -3,9 +3,7 @@ name: IAM integration on: pull_request: branches: - - master - types: [opened, synchronize, reopened, ready_for_review] - + - master # This ensures that previous jobs for the PR are canceled when the PR is # updated. @@ -15,7 +13,6 @@ concurrency: jobs: iam-matrix-test: - if: github.event.pull_request.draft == false name: "[Go=${{ matrix.go-version }}|ldap=${{ matrix.ldap }}|etcd=${{ matrix.etcd }}|openid=${{ matrix.openid }}]" runs-on: ubuntu-latest diff --git a/.github/workflows/replication.yaml b/.github/workflows/replication.yaml index b34202067..808773325 100644 --- a/.github/workflows/replication.yaml +++ b/.github/workflows/replication.yaml @@ -3,9 +3,7 @@ name: Multi-site replication tests on: pull_request: branches: - - master - types: [opened, synchronize, reopened, ready_for_review] - + - master # This ensures that previous jobs for the PR are canceled when the PR is # updated. @@ -15,7 +13,6 @@ concurrency: jobs: replication-test: - if: github.event.pull_request.draft == false name: Replication Tests with Go ${{ matrix.go-version }} runs-on: ubuntu-latest diff --git a/.github/workflows/upgrade-ci-cd.yaml b/.github/workflows/upgrade-ci-cd.yaml index 92bcc5931..9603d713e 100644 --- a/.github/workflows/upgrade-ci-cd.yaml +++ b/.github/workflows/upgrade-ci-cd.yaml @@ -3,8 +3,7 @@ name: Upgrade old version tests on: pull_request: branches: - - master - types: [opened, synchronize, reopened, ready_for_review] + - master # This ensures that previous jobs for the PR are canceled when the PR is # updated. @@ -14,7 +13,6 @@ concurrency: jobs: build: - if: github.event.pull_request.draft == false name: Go ${{ matrix.go-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: