From a99e206b325cbed5896cf08d497acebb3b15fd18 Mon Sep 17 00:00:00 2001 From: Dong-Young Kim <31337.persona@gmail.com> Date: Thu, 2 Feb 2023 23:30:39 +0900 Subject: [PATCH] ci: run `isort` when `pull_request` event triggered --- .github/workflows/pull-request-merge-precondition.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pull-request-merge-precondition.yml b/.github/workflows/pull-request-merge-precondition.yml index ddf7478..7af1ccd 100644 --- a/.github/workflows/pull-request-merge-precondition.yml +++ b/.github/workflows/pull-request-merge-precondition.yml @@ -15,3 +15,8 @@ jobs: - uses: psf/black@stable with: options: "--check --verbose" + + - uses: isort/isort-action@master + with: + configuration: "--check-only --diff --profile black" + requirementsFiles: "requirements.txt"