This is an automated email from the ASF dual-hosted git repository.
liuhongyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new d45cd7012b infra(ci): add CI action condition (#6316)
d45cd7012b is described below
commit d45cd7012b7ef708d767ce7ada346a3fadc72b81
Author: shown <[email protected]>
AuthorDate: Thu Apr 2 06:36:10 2026 +0800
infra(ci): add CI action condition (#6316)
---
.github/workflows/ci.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 48afcde299..0da28afeac 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -148,6 +148,7 @@ jobs:
check-license-header:
name: check-license-header
+ if: (github.repository == 'apache/shenyu')
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
@@ -161,7 +162,7 @@ jobs:
requirement:
name: build
- if: always()
+ if: (github.repository == 'apache/shenyu') && always()
needs:
- build
runs-on: ubuntu-latest