Fixed: CI Runs on Ready PRs Only (#2324)

* Revert "Update tests to not run all the time (#2311)"

This reverts commit 2c03eee329.

* Make CI only runs on PRs that are ready

* Remove CI Tasks on Push
This commit is contained in:
Zhiwei
2021-12-05 15:05:07 -07:00
committed by GitHub
parent 19f6544923
commit cf3c205fa5
11 changed files with 23 additions and 12 deletions

View File

@@ -3,10 +3,11 @@ on:
pull_request:
branches:
- main
types: [review_requested, ready_for_review]
types: [opened, synchronize, reopened, ready_for_review]
jobs:
bandit:
if: github.event.pull_request.draft == false
name: type-check-${{ matrix.config.python-version }}
runs-on: ${{ matrix.os }}
strategy: