diff --git a/.github/workflows/csfix.yml b/.github/workflows/csfix.yml index cd8c502..060f8e1 100644 --- a/.github/workflows/csfix.yml +++ b/.github/workflows/csfix.yml @@ -9,6 +9,9 @@ on: jobs: php-cs-fixer: runs-on: ubuntu-latest + # dont run on forks. requires commit access + if: github.event.pull_request.head.repo.full_name == github.repository + steps: - uses: actions/checkout@v1 with: