ci: gate release-cut to the canonical repo so it skips forks (#4815)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo-H 2026-06-08 16:57:55 -07:00
parent 7d7ba1bb32
commit 8b453d014b
1 changed files with 5 additions and 0 deletions

View File

@ -57,6 +57,11 @@ concurrency:
jobs:
cut:
# Why: this job bumps package.json and fast-forwards main. On a fork with
# Actions enabled, the scheduled cut would run against the fork's main and
# diverge it (version line) every slot, conflicting every PR back upstream.
# Gate to the canonical repo so the workflow no-ops on forks.
if: github.repository == 'stablyai/orca'
runs-on: ubuntu-latest
timeout-minutes: 15
outputs: