Skip to content

Commit 15852c0

Browse files
Anthony WatherstonAnthony Watherston
authored andcommitted
Test issue creation
1 parent 1ab66f2 commit 15852c0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/check-alz-release.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Check ALZ Release
22

33
on:
4-
#workflow_dispatch:
5-
pull_request:
6-
4+
workflow_dispatch:
75
permissions:
86
issues: write
97

@@ -14,7 +12,8 @@ jobs:
1412
- name: Run Script
1513
shell: pwsh
1614
run: |
17-
$response = ((iwr "https://api.github.com/repos/Azure/Azure-Landing-Zones-Library/releases/latest").Content | ConvertFrom-Json | Select-Object -ExpandProperty published_at) -gt (Get-Date).AddDays(-1)
15+
$response = ((iwr "https://api.github.com/repos/Azure/Azure-Landing-Zones-Library/releases/latest").Content | ConvertFrom-Json | Select-Object -ExpandProperty published_at) -gt (Get-Date).AddDays(-5)
16+
Write-Output $response
1817
echo "response=$response" >> $GITHUB_OUTPUT
1918
- name: Create Issue
2019
if: ${{ steps.run-script.outputs.response == 'True' }}

0 commit comments

Comments
 (0)