disable CI/CD for draft PRs (#13784)

This commit is contained in:
Krishnan Parthasarathi 2021-11-29 23:35:07 -08:00 committed by GitHub
parent 42d11d9e7d
commit 5a22f2cf0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 6 deletions

View File

@ -3,7 +3,9 @@ name: Crosscompile
on:
pull_request:
branches:
- master
- master
types: [opened, synchronize, reopened, ready_for_review]
# This ensures that previous jobs for the PR are canceled when the PR is
# updated.
@ -13,6 +15,7 @@ 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:

View File

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

View File

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

View File

@ -3,7 +3,9 @@ name: IAM integration
on:
pull_request:
branches:
- master
- master
types: [opened, synchronize, reopened, ready_for_review]
# This ensures that previous jobs for the PR are canceled when the PR is
# updated.
@ -13,6 +15,7 @@ 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

View File

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

View File

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