Skip to content

Commit

Permalink
feat: add github.pr.draft field
Browse files Browse the repository at this point in the history
  • Loading branch information
KubaJastrz committed Oct 3, 2022
1 parent d6571bf commit abd600a
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 DLS

<!-- 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 abd600a

Please sign in to comment.