Skip to content

Commit d45cd70

Browse files
authored
infra(ci): add CI action condition (#6316)
1 parent 2870eab commit d45cd70

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ jobs:
148148

149149
check-license-header:
150150
name: check-license-header
151+
if: (github.repository == 'apache/shenyu')
151152
runs-on: ubuntu-latest
152153
timeout-minutes: 10
153154
steps:
@@ -161,7 +162,7 @@ jobs:
161162

162163
requirement:
163164
name: build
164-
if: always()
165+
if: (github.repository == 'apache/shenyu') && always()
165166
needs:
166167
- build
167168
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)