Add a trigger to add `draft` label when `pull_request.draft` is `true`

Open
#838 1 comment 2 reactions 0 assignees View on GitHub

@jalaziz is already working on this.

Since Aug 26, 2026.

  • #969 by @jalaziz — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
github-actions, typescript
Domain
ci-cd, tooling

Research direction

Start by reviewing the action's pull_request event handling and configuration, focusing on how a draft-status change is exposed. Define the expected behavior for applying a configured label when pull_request.draft is true, then verify it with the repository's existing tests or action workflow checks.

Written by the indexing model from the issue text.

Description

feature request

Description:
when the PR status is changed from open to draft, there is no way to add label at this stage. We need some sort of trigger to add daft label or anything that user defined in the config.

Justification:
When the pr is is draft, it not that visible for the reviewer - there are a lot of cases where reviewer leave a lot of comments on a draft pr that probably being worked actively by the developer.

Are you willing to submit a PR?

I can try

Dominant language
TypeScript
Stars
2.5k
Forks
488
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actions/labeler

All issues in actions/labeler

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.