From 913100885b2f973ddf749a9d9d1a0b85fbf72db3 Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Wed, 8 Jun 2022 16:58:43 -0700 Subject: [PATCH] Remove the redundant black check in CI (#11790) We have two black checks in CI for different scopes (PR, full repo). Now that the repo level black check is required, we can remove the PR level check. --- .github/workflows/lint.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f10cdcd038..b28aba5579 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,8 +13,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: black - uses: reviewdog/action-black@v3 + - name: flake8 + uses: reviewdog/action-flake8@v3 with: github_token: ${{ secrets.github_token }} # Change reviewdog reporter if you need [github-pr-check, github-check, github-pr-review]. @@ -23,13 +23,6 @@ jobs: # GitHub Status Check won't become failure with a warning. level: error filter_mode: file - - name: flake8 - uses: reviewdog/action-flake8@v3 - with: - github_token: ${{ secrets.github_token }} - reporter: github-pr-check - level: error - filter_mode: file - name: pyflakes uses: reviewdog/action-pyflakes@v1 with: