"tests/pytests_utils/__init__.py" did not exist on "ea48ce7a3742c5d4ee7c37279be741db6b45bf50"
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: ...@@ -11,6 +11,7 @@ permissions:
jobs: jobs:
close-inactive-issues: close-inactive-issues:
if: github.repository == 'sgl-project/sglang'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check and close inactive issues - name: Check and close inactive issues
......
...@@ -9,6 +9,7 @@ on: ...@@ -9,6 +9,7 @@ on:
jobs: jobs:
publish: publish:
if: github.repository == 'sgl-project/sglang'
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: 'prod' environment: 'prod'
strategy: strategy:
......
...@@ -9,6 +9,7 @@ on: ...@@ -9,6 +9,7 @@ on:
jobs: jobs:
publish: publish:
if: github.repository == 'sgl-project/sglang'
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: 'prod' environment: 'prod'
steps: steps:
......
...@@ -8,6 +8,7 @@ on: ...@@ -8,6 +8,7 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
publish: publish:
if: github.repository == 'sgl-project/sglang'
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: 'prod' environment: 'prod'
steps: 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