Update Code Example for pull_request_target trigger

This commit is contained in:
Stefan Zweifel 2020-10-16 09:18:41 +02:00 committed by GitHub
parent 653ea719ea
commit b833fe0e9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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