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

The cut job checks out main, bumps package.json's version, and
fast-forwards main. On a fork with Actions enabled, the scheduled RC
cut runs against the fork's main and diverges it on the version line
every slot, so that contributor's PRs back to upstream conflict on
package.json even when their change never touches it.

Gate the job to github.repository == 'stablyai/orca' so it (and the
jobs that depend on it) no-op on forks. Canonical scheduled and manual
cuts are unaffected.
This commit is contained in:
Trevin Chow 2026-06-08 16:58:58 -07:00 committed by GitHub
parent 8b453d014b
commit c05d3ff1b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available