Unverified Commit a72342f1 authored by Yineng Zhang's avatar Yineng Zhang Committed by GitHub
Browse files

fix: not run workflows on fork repo (#762)

parent c3c74bf8
......@@ -11,6 +11,7 @@ permissions:
jobs:
close-inactive-issues:
if: github.repository == 'sgl-project/sglang'
runs-on: ubuntu-latest
steps:
- name: Check and close inactive issues
......
......@@ -9,6 +9,7 @@ on:
jobs:
publish:
if: github.repository == 'sgl-project/sglang'
runs-on: ubuntu-latest
environment: 'prod'
strategy:
......
......@@ -9,6 +9,7 @@ on:
jobs:
publish:
if: github.repository == 'sgl-project/sglang'
runs-on: ubuntu-latest
environment: 'prod'
steps:
......
......@@ -8,6 +8,7 @@ on:
workflow_dispatch:
jobs:
publish:
if: github.repository == 'sgl-project/sglang'
runs-on: ubuntu-latest
environment: 'prod'
steps:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment