You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@
34
34
-[ ] Comment-based help added/updated, including examples.
35
35
-[ ][Static analysis](https://github.com/microsoft/PowerShellForGitHub/blob/master/CONTRIBUTING.md#static-analysis) is reporting back clean.
36
36
-[ ] New/changed code adheres to our [coding guidelines](https://github.com/microsoft/PowerShellForGitHub/blob/master/CONTRIBUTING.md#coding-guidelines).
37
+
-[ ][Formatters were created](https://github.com/microsoft/PowerShellForGitHub/blob/master/CONTRIBUTING.md#formatters) for any new types being added.
37
38
-[ ] New/changed code continues to [support the pipeline](https://github.com/microsoft/PowerShellForGitHub/blob/master/CONTRIBUTING.md#pipeline-support).
38
39
-[ ] Changes to the manifest file follow the [manifest guidance](https://github.com/microsoft/PowerShellForGitHub/blob/master/CONTRIBUTING.md#module-manifest).
39
40
-[ ] Unit tests were added/updated and are all passing. See [testing guidelines](https://github.com/microsoft/PowerShellForGitHub/blob/master/CONTRIBUTING.md#testing). This includes making sure that all pipeline input variations have been covered.
Additionally assigns the usernames in $assignee to Issue #1
322
325
from the microsoft\PowerShellForGitHub project.
@@ -325,14 +328,14 @@ function New-GitHubAssignee
325
328
$assignees = @('octocat')
326
329
Get-GitHubRepository -OwnerName microsoft -RepositoryName PowerShellForGitHub |
327
330
Get-GitHubIssue -Issue 1 |
328
-
New-GitHubAssignee -Assignee $assignee
331
+
Add-GitHubAssignee -Assignee $assignee
329
332
330
333
Additionally assigns the usernames in $assignee to Issue #1
331
334
from the microsoft\PowerShellForGitHub project.
332
335
333
336
.EXAMPLE
334
337
$octocat = Get-GitHubUser -UserName 'octocat'
335
-
$octocat | New-GitHubAssignee -OwnerName microsoft -RepositoryName PowerShellForGitHub -Issue 1
338
+
$octocat | Add-GitHubAssignee -OwnerName microsoft -RepositoryName PowerShellForGitHub -Issue 1
336
339
337
340
Additionally assigns the user 'octocat' to Issue #1
338
341
from the microsoft\PowerShellForGitHub project.
@@ -341,6 +344,7 @@ function New-GitHubAssignee
341
344
SupportsShouldProcess,
342
345
DefaultParameterSetName='Elements')]
343
346
[OutputType({$script:GitHubIssueTypeName})]
347
+
[Alias('New-GitHubAssignee')] # Non-standard usage of the New verb, but done to avoid a breaking change post 0.14.0
344
348
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSShouldProcess","", Justification="Methods called within here make use of PSShouldProcess, and the switch is passed on to them inherently.")]
345
349
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSReviewUnusedParameter","", Justification="One or more parameters (like NoStatus) are only referenced by helper methods which get access to it from the stack via Get-Variable -Scope 1.")]
346
350
param(
@@ -475,6 +479,7 @@ function Remove-GitHubAssignee
0 commit comments