ci: skip release build for forks

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Parker Brown
2026-05-07 17:42:33 -07:00
parent 470e9c179e
commit fb92a08ca2
+1 -1
View File
@@ -14,7 +14,7 @@ permissions:
jobs:
build:
if: startsWith(github.head_ref, 'release-please--') || github.event_name == 'workflow_dispatch'
if: github.event_name == 'workflow_dispatch' || (startsWith(github.head_ref, 'release-please--') && github.event.pull_request.head.repo.full_name == github.repository)
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v3