Skip to content

Commit

Permalink
Add support for milestones (#62)
Browse files Browse the repository at this point in the history
Added support for the [Milestone](https://developer.github.com/v3/issues/milestones/) API's for GitHub Issues.
  • Loading branch information
etgottli authored and HowardWolosky committed Dec 13, 2018
1 parent cd17571 commit 2bd2447
Show file tree
Hide file tree
Showing 5 changed files with 734 additions and 2 deletions.
6 changes: 4 additions & 2 deletions GitHubComments.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ function Get-GitHubComment
Issue number to get comments for. If not supplied, will return back all comments for this repository.
.PARAMETER Sort
How to sort the results, either created or updated. Default: created
How to sort the results.
.PARAMETER Direction
How to list the results, either asc or desc. Ignored without the sort parameter.
How to list the results. Ignored without the sort parameter.
.PARAMETER Since
Only comments updated at or after this time are returned.
Expand Down Expand Up @@ -117,6 +117,8 @@ function Get-GitHubComment
$elements = Resolve-RepositoryElements
$OwnerName = $elements.ownerName
$RepositoryName = $elements.repositoryName
$uriFragment = [String]::Empty
$description = [String]::Empty

if ($null -ne $Since)
{
Expand Down
Loading

0 comments on commit 2bd2447

Please sign in to comment.