File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 21
21
description : The configurations to test with.
22
22
default : self-signed, single, wildcard
23
23
24
- pull_request :
25
- paths :
26
- - files/**.json
27
- - " **.ps1"
28
- - scripts/**.ps1
24
+ pull_request_target :
25
+ paths-ignore :
26
+ - .github/workflows/**
27
+
29
28
types :
30
29
- opened
31
30
- reopened
@@ -361,7 +360,7 @@ jobs:
361
360
name : Cleanup Test Resources
362
361
runs-on : ubuntu-latest
363
362
needs : [build, runner_test_deploy]
364
- if : success() || failure ()
363
+ if : always ()
365
364
steps :
366
365
- name : Login to Azure
367
366
uses : azure/login@v2
@@ -383,12 +382,12 @@ jobs:
383
382
"X-GitHub-Api-Version" = "2022-11-28"
384
383
}
385
384
}
386
- Invoke-RestMethod @DeleteArgs
385
+ Invoke-RestMethod @DeleteArgs -ErrorAction SilentlyContinue
387
386
}
388
387
389
388
$ResourceGroupName = "qsg-testing"
390
389
if ('${{ github.run_id }}' -ne "`$`{{ github.run_id }}") {$ResourceGroupName += '-${{ github.run_id }}'}
391
390
if (Get-AzResourceGroup -ResourceGroupName $ResourceGroupName -ErrorAction SilentlyContinue) {
392
- Remove-AzResourceGroup -ResourceGroupName $ResourceGroupName -Force # -AsJob
391
+ Remove-AzResourceGroup -ResourceGroupName $ResourceGroupName -Force
393
392
}
394
393
azPSVersion : latest
You can’t perform that action at this time.
0 commit comments