Add working-directory input (#21)

This commit is contained in:
Michal Dorner 2020-07-02 22:56:14 +02:00
parent 14dd70c742
commit caef9bef1f
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
5 changed files with 29 additions and 0 deletions

View file

@ -26,6 +26,7 @@ Output variables can be later used in the `if` clause to conditionally run speci
### Inputs
- **`token`**: GitHub Access Token - defaults to `${{ github.token }}` so you don't have to explicitly provide it.
- **`working-directory`: Relative path under $GITHUB_WORKSPACE where the repository was checked out. Useful only if you checked out your repository under custom path.
- **`base`**: Git reference (e.g. branch name) against which the changes will be detected. Defaults to repository default branch (e.g. master).
If it references same branch it was pushed to, changes are detected against the most recent commit before the push.
This option is ignored if action is triggered by *pull_request* event.