From 2c5150c7c679b939ba05de1050a2b839cd4f8c96 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed, 9 Jun 2021 22:33:53 +0200 Subject: [PATCH] Don't run Docker workflow on push to forks (#2324) --- .github/workflows/docker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 788c505..419ec74 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -9,6 +9,7 @@ on: jobs: docker: + if: github.repository == 'psf/black' runs-on: ubuntu-latest steps: - name: Checkout -- 2.39.5