Skip to content

Commit 1d6016b

Browse files
milinddethe15alexxfan
authored andcommitted
fix(ci): disable Unit and Integration Test - Go gh action in forked repos (kubeflow#2746)
Signed-off-by: milinddethe15 <milinddethe15@gmail.com>
1 parent 5eb5772 commit 1d6016b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/test-go.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
generate:
99
name: Generate
1010
runs-on: ubuntu-latest
11+
if: ${{ github.repository == 'kubeflow/trainer' }}
1112
env:
1213
GOPATH: ${{ github.workspace }}/go
1314
defaults:
@@ -47,6 +48,7 @@ jobs:
4748
test:
4849
name: Test
4950
runs-on: ubuntu-latest
51+
if: ${{ github.repository == 'kubeflow/trainer' }}
5052
env:
5153
GOPATH: ${{ github.workspace }}/go
5254
defaults:

0 commit comments

Comments
 (0)