Skip to content

Commit

Permalink
Add support for issue labels (#59)
Browse files Browse the repository at this point in the history
Added support for the [Label](https://developer.github.com/v3/issues/labels/) API's for GitHub Issues.
  • Loading branch information
joseartrivera authored and HowardWolosky committed Dec 13, 2018
1 parent 2bd2447 commit 6c73554
Show file tree
Hide file tree
Showing 6 changed files with 646 additions and 168 deletions.
2 changes: 1 addition & 1 deletion GitHubComments.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function New-GitHubComment
[string] $Uri,

[Parameter(Mandatory)]
[string] $Issue,
[int] $Issue,

[Parameter(Mandatory)]
[string] $Body,
Expand Down
5 changes: 2 additions & 3 deletions GitHubIssues.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function Get-GitHubIssue
[ValidateSet('all', 'ownedAndMember')]
[string] $RepositoryType = 'all',

[string] $Issue,
[int] $Issue,

[switch] $IgnorePullRequests,

Expand Down Expand Up @@ -375,8 +375,7 @@ function Get-GitHubIssueTimeline
[string] $Uri,

[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $Issue,
[int] $Issue,

[string] $AccessToken,

Expand Down
Loading

0 comments on commit 6c73554

Please sign in to comment.