#>
function Get-GHMine() {
- param(
- [int]$days = -14
- )
$repos = @('SecOps-Tools', 'secdev-job-aids', 'awscli-login')
$issueSearchParams = @{ Assignee = 'edthedev'; State = 'open'; OwnerName = 'techservicesillinois' }
$issues = @()
$issues += Get-GitHubIssue -RepositoryName $_ @issueSearchParams
}
+ # Ignore issues that have been updated in the last day.
+ $issues = $issues | Where-Object { $_.updated_at -lt (Get-Date).AddDays(-1) }
+
return $issues
}
#>
function Show-GHMine() {
- param(
- )
Get-GHMine | ForEach-Object {
# Markdown output
" + [" + $_.Title + " (" + $_.Number + ")](" + $_.html_url + ")"
Export-ModuleMember -Function Get-GHClosed
Export-ModuleMember -Function Show-GHClosed
+Export-ModuleMember -Function Get-GHMine
Export-ModuleMember -Function Show-GHMine
\ No newline at end of file