only build commits when feature enabled

This commit is contained in:
Peter Evans 2024-08-09 16:34:28 +00:00
parent 3a6bc1b6c6
commit 53ed82a297
6 changed files with 28 additions and 20 deletions

View file

@ -51,6 +51,9 @@ inputs:
A fork of the checked out parent repository to which the pull request branch will be pushed.
e.g. `owner/repo-fork`.
The pull request will be created to merge the fork's branch into the parent's base.
sign-commits:
description: 'Sign commits as `github-actions[bot]` when using `GITHUB_TOKEN`, or your own bot when using GitHub App tokens.'
default: true
title:
description: 'The title of the pull request.'
default: 'Changes by create-pull-request action'
@ -74,9 +77,6 @@ inputs:
draft:
description: 'Create a draft pull request. It is not possible to change draft status after creation except through the web interface'
default: false
sign-commit:
description: 'Sign the commit as github-actions bot (and as custom app if a different github-token is provided)'
default: true
outputs:
pull-request-number:
description: 'The pull request number'