Update README.md

This commit is contained in:
Stefan Zweifel 2020-04-24 10:14:37 +02:00 committed by GitHub
parent 394681d465
commit 7fdc480651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,8 @@ In this example I'm running `php-cs-fixer` in a PHP project.
### Example on `pull_request` event ### Example on `pull_request` event
If you would like to use this Action in a Workflow which listens to the `pull_request` event, you must add the `ref`-input to the `actions/checkout@v2` step. It's also recommended to add the `branch`-input to the `git-auto-commit`-step. This way you tell the Action exactly where to push the commit.
```yaml ```yaml
name: php-cs-fixer name: php-cs-fixer