RoughDraft.GitHubWorkflow.psdevops.ps1

#requires -Module PSDevOps
Push-Location $PSScriptRoot
Import-Module .\RoughDraft.psd1 -Global
Import-BuildStep -ModuleName RoughDraft

New-GitHubWorkflow -Name "Analyze, Test, Tag, and Publish" -On Push, PullRequest, Demand -Job PowerShellStaticAnalysis,
    TestPowerShellOnLinux,
    TagReleaseAndPublish,
    BuildRoughDraft -OutputPath .\.github\workflows\TestAndPublish.yml 

New-GitHubWorkflow -On Issue, Demand -Job RunGitPub -Name OnIssueChanged -OutputPath .\.github\workflows\OnIssue.yml

Pop-Location