Skip to content

Commit 23ee6c6

Browse files
committed
add a param to specify the pr status
1 parent 00d73f6 commit 23ee6c6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ A comma-separated list of filenames to check for the "Tested Up To" version. If
5151
#### `branch`
5252
The branch to create the PR against. If not specified, the action will use the branch the workflow is running on (default branch for cron-triggered workflows).
5353

54+
#### `pr-status`
55+
The status to set on the PR. If not specified, the action will create a _draft_ PR.
56+
5457
## Permissions
5558

5659
The `write` permissions on `contents` and `pull-requests` are important. They are required for the action to commit the changes back to the repository and open a pull request. The only files affected by the action are files named `readme.txt`, `README.md` or those files matching the pattern (looking for "Tested Up To" in the file) that have been specified in the `filenames` input.

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ inputs:
2525
description: The branch to use as the base for PRs and commit the changes back to.
2626
required: false
2727
default: 'main'
28+
pr-status:
29+
description: The status of the PR to create. Default is 'draft'.
30+
required: false
31+
default: 'draft'
2832
runs:
2933
using: composite
3034
steps:

0 commit comments

Comments
 (0)