Skip to content

An open-source, self-hosted system for apps built with web technologies.

Verify can be run by hand, and with debug it opens a terminal on its Windows machine for whoever started it

zohayrslilehbb8716f1301a
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml
index 6b695d0..8174a40 100644
--- a/.github/workflows/verify.yml
+++ b/.github/workflows/verify.yml
@@ -5,6 +5,14 @@ on:
push:
branches:
- main
+ # Run by hand from the Actions tab. With "debug", the Windows job then opens a terminal on its
+ # machine, reachable over SSH by whoever started the run, whether the tests passed or failed.
+ workflow_dispatch:
+ inputs:
+ debug:
+ description: Open a terminal on the Windows machine after its tests
+ type: boolean
+ default: false
permissions:
contents: read
@@ -37,3 +45,10 @@ jobs:
package-manager-cache: false
- run: bun install --frozen-lockfile
- run: bun run verify
+ - name: Terminal on this machine
+ if: ${{ always() && inputs.debug }}
+ uses: mxschmitt/action-tmate@v3
+ timeout-minutes: 60
+ with:
+ # Only the person who started the run may connect: the log of a public repository is public.
+ limit-access-to-actor: true