feat: support for fail-if-no-changes input
Currently if this action is used and no changes have been made to the repository, the job will silently continue. This feature adds a new flag `fail-if-no-changes`, which when enabled causes the job to fail when there are no changes.
This commit is contained in:
parent
dcd5fd746d
commit
171a10a802
7 changed files with 21 additions and 5 deletions
|
@ -71,6 +71,9 @@ inputs:
|
|||
draft:
|
||||
description: 'Create a draft pull request'
|
||||
default: false
|
||||
fail-if-no-changes:
|
||||
description: 'Whether the job should fail if no changes are made.'
|
||||
default: false
|
||||
outputs:
|
||||
pull-request-number:
|
||||
description: 'The pull request number'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue