Block Release Publishing workflow from automatically running on forks (#1450)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
dfa9342f92
commit
54087e7276
1 changed files with 2 additions and 0 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -32,6 +32,8 @@ on:
|
|||
|
||||
jobs:
|
||||
build-all-configs:
|
||||
# Don't run scheduled/release triggers on forks; allow manual workflow_dispatch
|
||||
if: ${{ github.repository == 'modelcontextprotocol/csharp-sdk' || github.event_name == 'workflow_dispatch' }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
|
|
|
|||
Loading…
Reference in a new issue