Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Oct 27, 2023
1 parent 0f7bde3 commit 625ba78
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
filter Enable-GitHubRepositorySecurityFixes {
filter Enable-GitHubRepositorySecurityFix {
<#
.SYNOPSIS
Enable automated security fixes
.DESCRIPTION
Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)".
Enables automated security fixes for a repository. The authenticated user must have admin access to the repository.
For more information, see
"[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)".
.EXAMPLE
Enable-GitHubRepositorySecurityFixes -Owner 'PSModule' -Repo 'GitHub'
Enable-GitHubRepositorySecurityFix -Owner 'PSModule' -Repo 'GitHub'
Enables automated security fixes for the repository.
Expand All @@ -16,6 +18,7 @@
#>
[CmdletBinding()]
[Alias('Enable-GitHubRepositorySecurityFixes')]
param (
# The account owner of the repository. The name is not case sensitive.
[Parameter()]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Get-GitHubStatusIncidents {
function Get-GitHubStatusIncident {
<#
.SYNOPSIS
Gets the status of GitHub incidents
Expand All @@ -12,19 +12,20 @@
Impact: None (black), Minor (yellow), Major (orange), or Critical (red)
.EXAMPLE
Get-GitHubStatusIncidents
Get-GitHubStatusIncident
Gets the status of GitHub incidents
.EXAMPLE
Get-GitHubStatusIncidents -Unresolved
Get-GitHubStatusIncident -Unresolved
Gets the status of GitHub incidents that are unresolved
.NOTES
https://www.githubstatus.com/api#incidents
#>
[OutputType([pscustomobject[]])]
[Alias('Get-GitHubStatusIncidents')]
[CmdletBinding()]
param(
# Gets the status of GitHub incidents that are unresolved
Expand Down

0 comments on commit 625ba78

Please sign in to comment.