From 7fdc48065133a74ec5d02bc78a5122d0067c53c6 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Fri, 24 Apr 2020 10:14:37 +0200 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 22ff5fc..89f0912 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,8 @@ In this example I'm running `php-cs-fixer` in a PHP project. ### 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 name: php-cs-fixer