File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Check ALZ Release
2
2
3
3
on :
4
- # workflow_dispatch:
5
- pull_request :
6
-
4
+ workflow_dispatch :
7
5
permissions :
8
6
issues : write
9
7
14
12
- name : Run Script
15
13
shell : pwsh
16
14
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
18
17
echo "response=$response" >> $GITHUB_OUTPUT
19
18
- name : Create Issue
20
19
if : ${{ steps.run-script.outputs.response == 'True' }}
You can’t perform that action at this time.
0 commit comments