Update Code Example for pull_request_target trigger
This commit is contained in:
parent
653ea719ea
commit
b833fe0e9d
@ -168,15 +168,13 @@ The following workflow runs `php-cs-fixer` (a code linter and fixer for PHP) whe
|
|||||||
```yaml
|
```yaml
|
||||||
name: Format PHP
|
name: Format PHP
|
||||||
|
|
||||||
on: [pull_request, pull_request_target]
|
on: [pull_request_target]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
php-cs-fixer:
|
php-cs-fixer:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
ref: ${{ github.head_ref }}
|
|
||||||
|
|
||||||
- name: Run php-cs-fixer
|
- name: Run php-cs-fixer
|
||||||
uses: docker://oskarstark/php-cs-fixer-ga
|
uses: docker://oskarstark/php-cs-fixer-ga
|
||||||
|
Loading…
Reference in New Issue
Block a user