mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +00:00
Update README.md
This commit is contained in:
parent
394681d465
commit
7fdc480651
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user