ci: temporary push trigger for pre-merge parity workflow testing

workflow_dispatch cannot target a workflow that has never existed on the
default branch; a push trigger scoped to this branch runs it from the
pushed ref instead. Also point the suite-ref fallback at the testing
branch while inputs are unavailable on push events. Both marked for
removal when merging.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XqSEqBGY9RYF96J8aCgxGy
This commit is contained in:
Hanif Koh
2026-09-01 21:45:43 +08:00
parent 7da1a188ac
commit 7347663e89

View File

@@ -7,6 +7,11 @@
name: GUI-CLI Parity name: GUI-CLI Parity
on: on:
# temporary, for pre-merge branch testing: workflow_dispatch only works once
# the workflow exists on the default branch, but push events run the
# workflow from the pushed ref. Remove this trigger when merging to main.
push:
branches: ["hanif/parity-harness"]
schedule: schedule:
- cron: "30 18 * * *" - cron: "30 18 * * *"
workflow_dispatch: workflow_dispatch:
@@ -51,7 +56,9 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
repository: OrcaSlicer/orca-test-repo repository: OrcaSlicer/orca-test-repo
ref: ${{ github.event.inputs.test_repo_ref || 'cli-test-suite' }} # temporary fallback for push-triggered branch testing (inputs are
# empty on push): restore to 'cli-test-suite' when merging to main
ref: ${{ github.event.inputs.test_repo_ref || 'hanif/parity-harness' }}
path: orca-test-repo path: orca-test-repo
# the AppImage ships only packed .opc preset caches, no profile JSONs, # the AppImage ships only packed .opc preset caches, no profile JSONs,