Skip to content

Commit 307011a

Browse files
Actually check active runs (#80)
1 parent d51dd27 commit 307011a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/server_checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
name: "Stop Azure VM"
168168
runs-on: ubuntu-latest
169169
needs: check-workflow-runs
170-
if: ${{ always() && !(inputs.skip-vm-management)}}
170+
if: always() && !cancelled() && !(inputs.skip-vm-management) && needs.check-workflow-runs.outputs.active-runs != 'true'
171171
steps:
172172
- uses: azure/CLI@v2
173173
with:

0 commit comments

Comments
 (0)