Treasury & Bank Transfer Management System — سامانه مدیریت خزانه‌داری و حواله‌های بانکی

Check free public Windows runner without transferring private TreasuryFlow assets

davoodmehraban89 committed Oct 17, 2026 at 11:58 UTC 0a2dc70d9087661e742d4bc49923dea8e2828e14
1 file changed +37
.github/workflows/public-windows-runner-probe.yml new
+37
@@ -0,0 +1,37 @@
1 +name: Public Windows runner — no private payload
2 +on:
3 + push:
4 + branches:
5 + - ci/public-windows-bridge-probe-20261017
6 + paths:
7 + - .github/workflows/public-windows-runner-probe.yml
8 + workflow_dispatch:
9 +
10 +permissions:
11 + contents: read
12 +
13 +jobs:
14 + probe:
15 + name: Confirm free Windows runner and available lab tools
16 + runs-on: windows-2022
17 + timeout-minutes: 10
18 + steps:
19 + - name: Inspect isolated runner capabilities without confidential assets
20 + shell: pwsh
21 + run: |
22 + $ErrorActionPreference='Stop'
23 + if ($env:RUNNER_OS -ne 'Windows') { throw 'NOT_WINDOWS' }
24 + [pscustomobject]@{
25 + windowsVersion = (Get-CimInstance Win32_OperatingSystem).Caption
26 + runnerOS = $env:RUNNER_OS
27 + pwshVersion = $PSVersionTable.PSVersion.ToString()
28 + node = (Get-Command node -ErrorAction SilentlyContinue).Source
29 + npm = (Get-Command npm -ErrorAction SilentlyContinue).Source
30 + dotnet = (Get-Command dotnet -ErrorAction SilentlyContinue).Source
31 + sevenZip = (Get-Command 7z -ErrorAction SilentlyContinue).Source
32 + sqlcmd = (Get-Command sqlcmd -ErrorAction SilentlyContinue).Source
33 + sqlServiceInstalled = @((Get-Service -Name 'MSSQL*' -ErrorAction SilentlyContinue)).Count -gt 0
34 + privateV6TestExecuted = $false
35 + sourcePublished = $false
36 + } | ConvertTo-Json -Depth 3
37 + Write-Host "PUBLIC_WINDOWS_VM_PROBE_PASS"