Browse Source

Actions: do NOT run on repo "v2ray/v2ray-core" (#244)

Loyalsoldier 5 years ago
parent
commit
353df856b3

+ 1 - 0
.github/workflows/codeql-analysis.yml

@@ -15,6 +15,7 @@ on:
 
 jobs:
   analyze:
+    if: github.repository != 'v2ray/v2ray-core'
     runs-on: ubuntu-latest
     strategy:
       fail-fast: false

+ 1 - 0
.github/workflows/coverage.yml

@@ -8,6 +8,7 @@ on:
 
 jobs:
   coverage:
+    if: github.repository != 'v2ray/v2ray-core'
     runs-on: ubuntu-latest
     steps:
       - name: Set up Go 1.x

+ 1 - 0
.github/workflows/linter.yml

@@ -13,6 +13,7 @@ on:
 
 jobs:
   lint:
+    if: github.repository != 'v2ray/v2ray-core'
     runs-on: ubuntu-latest
     steps:
       - name: Set up Go 1.x

+ 1 - 0
.github/workflows/sign.yml

@@ -6,6 +6,7 @@ on:
 
 jobs:
   sign:
+    if: github.repository != 'v2ray/v2ray-core'
     runs-on: ubuntu-latest
     steps:
       - name: Checkout default branch

+ 1 - 0
.github/workflows/test.yml

@@ -17,6 +17,7 @@ on:
 
 jobs:
   test:
+    if: github.repository != 'v2ray/v2ray-core'
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:

+ 1 - 0
.github/workflows/updateGeofile.yml

@@ -6,6 +6,7 @@ on:
 
 jobs:
   update:
+    if: github.repository != 'v2ray/v2ray-core'
     runs-on: ubuntu-latest
     steps:
       - name: Checkout codebase