Skip to content

Commit

Permalink
ci: do not run workflows for draft PRs (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqqqi committed Jun 11, 2021
1 parent fca6211 commit f9df546
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
push:
branches: [ master ]
pull_request:
type: [review_requested, ready_for_review]
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e-test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ on:
pull_request:
branches:
- master
type: [review_requested, ready_for_review]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down Expand Up @@ -78,7 +79,7 @@ jobs:
- name: Setup Go Env
uses: actions/setup-go@v1
with:
go-version: '1.13'
go-version: "1.13"
- name: Install ginkgo
run: |
go get -u github.com/onsi/ginkgo/ginkgo
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ on:
pull_request:
branches:
- master
type: [review_requested, ready_for_review]

jobs:
changes:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/license-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ on:
pull_request:
branches:
- master
type: [review_requested, ready_for_review]

jobs:
check-license:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ on:
pull_request:
branches:
- master
type: [review_requested, ready_for_review]
jobs:
changes:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/spell-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
type: [review_requested, ready_for_review]
jobs:
misspell:
name: runner / misspell
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ on:
pull_request:
branches:
- master
type: [review_requested, ready_for_review]
jobs:
changes:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/verify-codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ on:
pull_request:
branches:
- master
type: [review_requested, ready_for_review]
jobs:
changes:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f9df546

Please sign in to comment.