Revert "disable CI/CD for draft PRs (#13784)"

This reverts commit 5a22f2cf0b.
This commit is contained in:
Harshavardhana 2021-11-30 09:22:17 -08:00
parent d6fe0f61a9
commit 4f3290309e
6 changed files with 6 additions and 23 deletions

View File

@ -3,9 +3,7 @@ name: Crosscompile
on: on:
pull_request: pull_request:
branches: branches:
- master - master
types: [opened, synchronize, reopened, ready_for_review]
# This ensures that previous jobs for the PR are canceled when the PR is # This ensures that previous jobs for the PR are canceled when the PR is
# updated. # updated.
@ -15,7 +13,6 @@ concurrency:
jobs: jobs:
build: build:
if: github.event.pull_request.draft == false
name: Build Tests with Go ${{ matrix.go-version }} on ${{ matrix.os }} name: Build Tests with Go ${{ matrix.go-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:

View File

@ -3,9 +3,7 @@ name: Linters and Tests
on: on:
pull_request: pull_request:
branches: branches:
- master - master
types: [opened, synchronize, reopened, ready_for_review]
# This ensures that previous jobs for the PR are canceled when the PR is # This ensures that previous jobs for the PR are canceled when the PR is
# updated. # updated.
@ -15,7 +13,6 @@ concurrency:
jobs: jobs:
build: build:
if: github.event.pull_request.draft == false
name: Go ${{ matrix.go-version }} on ${{ matrix.os }} name: Go ${{ matrix.go-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:

View File

@ -3,9 +3,7 @@ name: Functional Tests
on: on:
pull_request: pull_request:
branches: branches:
- master - master
types: [opened, synchronize, reopened, ready_for_review]
# This ensures that previous jobs for the PR are canceled when the PR is # This ensures that previous jobs for the PR are canceled when the PR is
# updated. # updated.
@ -15,7 +13,6 @@ concurrency:
jobs: jobs:
build: build:
if: github.event.pull_request.draft == false
name: Go ${{ matrix.go-version }} on ${{ matrix.os }} name: Go ${{ matrix.go-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:

View File

@ -3,9 +3,7 @@ name: IAM integration
on: on:
pull_request: pull_request:
branches: branches:
- master - master
types: [opened, synchronize, reopened, ready_for_review]
# This ensures that previous jobs for the PR are canceled when the PR is # This ensures that previous jobs for the PR are canceled when the PR is
# updated. # updated.
@ -15,7 +13,6 @@ concurrency:
jobs: jobs:
iam-matrix-test: iam-matrix-test:
if: github.event.pull_request.draft == false
name: "[Go=${{ matrix.go-version }}|ldap=${{ matrix.ldap }}|etcd=${{ matrix.etcd }}|openid=${{ matrix.openid }}]" name: "[Go=${{ matrix.go-version }}|ldap=${{ matrix.ldap }}|etcd=${{ matrix.etcd }}|openid=${{ matrix.openid }}]"
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -3,9 +3,7 @@ name: Multi-site replication tests
on: on:
pull_request: pull_request:
branches: branches:
- master - master
types: [opened, synchronize, reopened, ready_for_review]
# This ensures that previous jobs for the PR are canceled when the PR is # This ensures that previous jobs for the PR are canceled when the PR is
# updated. # updated.
@ -15,7 +13,6 @@ concurrency:
jobs: jobs:
replication-test: replication-test:
if: github.event.pull_request.draft == false
name: Replication Tests with Go ${{ matrix.go-version }} name: Replication Tests with Go ${{ matrix.go-version }}
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -3,8 +3,7 @@ name: Upgrade old version tests
on: on:
pull_request: pull_request:
branches: branches:
- master - master
types: [opened, synchronize, reopened, ready_for_review]
# This ensures that previous jobs for the PR are canceled when the PR is # This ensures that previous jobs for the PR are canceled when the PR is
# updated. # updated.
@ -14,7 +13,6 @@ concurrency:
jobs: jobs:
build: build:
if: github.event.pull_request.draft == false
name: Go ${{ matrix.go-version }} on ${{ matrix.os }} name: Go ${{ matrix.go-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy: