From b833fe0e9d7231206c55b22918719bc18381b99e Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Fri, 16 Oct 2020 09:18:41 +0200 Subject: [PATCH] Update Code Example for pull_request_target trigger --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 56bf6b3..7488e9d 100644 --- a/README.md +++ b/README.md @@ -168,15 +168,13 @@ The following workflow runs `php-cs-fixer` (a code linter and fixer for PHP) whe ```yaml name: Format PHP -on: [pull_request, pull_request_target] +on: [pull_request_target] jobs: php-cs-fixer: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: - ref: ${{ github.head_ref }} - name: Run php-cs-fixer uses: docker://oskarstark/php-cs-fixer-ga