YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
security: restrict self-hosted runner to main branch only
Louis Beaumont2c6ea0c4ddf3
diff --git a/.github/workflows/e2e-windows.yml b/.github/workflows/e2e-windows.ymlindex e0a6c0411..65b4ea956 100644--- a/.github/workflows/e2e-windows.yml+++ b/.github/workflows/e2e-windows.yml@@ -1,12 +1,12 @@name: Windows E2E Testson:- # Run after app release builds complete+ # Run after app release builds complete (main branch only)workflow_run:workflows: ["Release App"]types: [completed]branches: [main]- # Manual trigger+ # Manual trigger — only from main branch to prevent arbitrary code executionworkflow_dispatch:inputs:runner:@@ -24,13 +24,15 @@ concurrency:jobs:# ── Self-hosted: bb + API tests on real desktop ──────────────────────────────+ # SECURITY: only runs on main branch to prevent code execution from PRs/forkse2e-self-hosted:name: Windows E2E (self-hosted)runs-on: [self-hosted, "${{ inputs.runner || 'windows-desktop-test' }}"]timeout-minutes: 30if: >- github.event_name == 'workflow_dispatch' ||- github.event.workflow_run.conclusion == 'success'+ github.ref == 'refs/heads/main' &&+ (github.event_name == 'workflow_dispatch' ||+ github.event.workflow_run.conclusion == 'success')steps:- uses: actions/checkout@v4