From 0836498b2b8506dbc089969672068696f82e7b77 Mon Sep 17 00:00:00 2001 From: Hannes Giesenow Date: Thu, 21 Dec 2023 11:50:40 +0100 Subject: [PATCH] Do not run docker build on forks --- .github/workflows/docker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b881efa0281..7427a783b98 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,6 +14,7 @@ env: jobs: build-and-push-image: name: PHP ${{ matrix.php-version }}, Fixer ${{ github.ref == 'refs/heads/master' && 'edge' || github.ref_name }} + if: github.repository == 'PHP-CS-Fixer/PHP-CS-Fixer' runs-on: ubuntu-latest strategy: matrix: