Skip to content

Commit

Permalink
Merge pull request #1323 from KubaJastrz/pr-draft
Browse files Browse the repository at this point in the history
feat: add github.pr.draft field
  • Loading branch information
orta committed Oct 4, 2022
2 parents d6571bf + 184df2d commit c92a32e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -21,6 +21,8 @@
- GitLab: Improve support for MRs from forks [#1319](https://github.com/danger/danger-js/pull/1319) [@ivankatliarchuk]
- GitLab: Added provider tests [#1319](https://github.com/danger/danger-js/pull/1319) [@ivankatliarchuk]

- GitHub: Added `danger.github.pr.draft` field to DSL

<!-- Your comment above this -->

## 11.1.2
Expand Down
5 changes: 5 additions & 0 deletions source/dsl/GitHubDSL.ts
Expand Up @@ -242,6 +242,11 @@ export interface GitHubPRDSL {
*/
assignees: GitHubUser[]

/**
* Is in draft state?
*/
draft: boolean

/**
* Has the PR been merged yet?
*/
Expand Down

0 comments on commit c92a32e

Please sign in to comment.