Skip to content

Commit 0cb0b18

Browse files
Updating GitHub Workflow Defintions
1 parent f836ab3 commit 0cb0b18

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
#requires -Module PSDevOps
2+
Push-Location $PSScriptRoot
3+
24
New-GitHubWorkflow -Name "Analyze, Test, Tag, and Publish" -On Push, PullRequest, Demand -Job PowerShellStaticAnalysis, TestPowerShellOnLinux, TagReleaseAndPublish -Environment @{
35
SYSTEM_ACCESSTOKEN = '${{ secrets.AZUREDEVOPSPAT }}'
46
NoCoverage = $true
57
}|
6-
Set-Content .\.github\workflows\TestAndPublish.yml -Encoding UTF8 -PassThru
8+
Set-Content .\.github\workflows\TestAndPublish.yml -Encoding UTF8 -PassThru
9+
10+
11+
New-GitHubWorkflow -Name "Trace On Issue Opened Or Edited" -On IssueOpenedOrEdited -Job TraceGitHubEvent |
12+
Set-Content .\.github\workflows\TraceIssueOpenedOrEdited.yml -Encoding UTF8 -PassThru
13+
14+
New-GitHubWorkflow -Name "Trace On Issue Closed" -On IssueClosed -Job TraceGitHubEvent |
15+
Set-Content .\.github\workflows\TraceIssueClosed.yml -Encoding UTF8 -PassThru
16+
17+
New-GitHubWorkflow -Name "Trace On Issue Comment" -On IssueComment -Job TraceGitHubEvent |
18+
Set-Content .\.github\workflows\TraceIssueComment.yml -Encoding UTF8 -PassThru
19+
20+
Pop-Location

0 commit comments

Comments
 (0)