Add draft mode support (#258)

* Add draft mode support

* Add doc

* fmt

* add it to action.yml

* fix bad merge?

* tweak changeset

* refactor

---------

Co-authored-by: Emma Hamilton <mitchell@hamil.town>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
This commit is contained in:
Tom Sherman
2026-05-07 11:35:24 +02:00
committed by GitHub
co-authored by Emma Hamilton Mateusz Burzyński
parent 91b911142e
commit f5dbf72f96
7 changed files with 281 additions and 4 deletions
+3
View File
@@ -43,6 +43,9 @@ inputs:
branch:
description: Sets the branch in which the action will run. Default to `github.ref_name` if not provided
required: false
prDraft:
description: 'Controls draft PR behavior. Use "create" to create new version PRs as draft, or "always" to also convert existing version PRs back to draft when updating them.'
required: false
outputs:
published:
description: A boolean value to indicate whether a publishing is happened or not