GitHub Action that changes a pull request to draft, once. π
This action may be run in a pull_request or pull_request_target workflow.
It will draft the pull request once: meaning, if re-run after the PR is un-drafted, it won't re-draft the PR.
runs:
steps:
- id: package-change
uses: JoshuaKGoldberg/[email protected]
with:
github-token: ${{ secrets.ACCESS_TOKEN }}Optional inputs are:
indicator(string): Hidden comment to add to the pull request body when it is changed to draft.message(string): Visible message to comment on the pull request when it is changed to draft.
See .github/CONTRIBUTING.md, then .github/DEVELOPMENT.md.
Thanks! π
Josh Goldberg β¨ π» π π π€ π π§ π π§ |
π This package was templated with
create-typescript-appusing the Bingo framework.
.