Add ref input parameter

This commit is contained in:
Michal Dorner 2021-04-07 22:32:59 +02:00
parent 208adf42c8
commit 37a6d38b2d
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
4 changed files with 62 additions and 36 deletions

View file

@ -9,6 +9,12 @@ inputs:
working-directory:
description: 'Relative path under $GITHUB_WORKSPACE where the repository was checked out.'
required: false
ref:
description: |
Git reference (e.g. branch name) from which the changes will be detected.
This option is ignored if action is triggered by pull_request event.
default: ${{ github.ref }}
required: false
base:
description: |
Git reference (e.g. branch name) against which the changes will be detected. Defaults to repository default branch (e.g. master).