Skip to content

Commit 204ebc9

Browse files
author
James Brundage
committed
Running EZOut in Workflow (#148)
1 parent fea5341 commit 204ebc9

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/TestAndPublish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,17 @@ jobs:
493493
uses: actions/checkout@v2
494494
- name: UseHelpOut
495495
uses: StartAutomating/HelpOut@master
496+
RunEZOut:
497+
runs-on: ubuntu-latest
498+
if: ${{ success() }}
499+
steps:
500+
- name: Check out repository
501+
uses: actions/checkout@v2
502+
- name: UseEZOut
503+
uses: StartAutomating/EZOut@master
504+
- name: Push Changes
505+
shell: pwsh
506+
run: git push; exit 0
496507
env:
497508
SYSTEM_ACCESSTOKEN: ${{ secrets.AZUREDEVOPSPAT }}
498509
NoCoverage: true

PSDevOps.GitHubWorkflow.psdevops.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#requires -Module PSDevOps
22
Push-Location $PSScriptRoot
33

4-
New-GitHubWorkflow -Name "Analyze, Test, Tag, and Publish" -On Push, PullRequest, Demand -Job PowerShellStaticAnalysis, TestPowerShellOnLinux, TagReleaseAndPublish -Environment @{
4+
New-GitHubWorkflow -Name "Analyze, Test, Tag, and Publish" -On Push, PullRequest, Demand -Job PowerShellStaticAnalysis, TestPowerShellOnLinux, TagReleaseAndPublish, HelpOut, RunEZOut -Environment @{
55
SYSTEM_ACCESSTOKEN = '${{ secrets.AZUREDEVOPSPAT }}'
66
NoCoverage = $true
77
}|

0 commit comments

Comments
 (0)