This is an automated email from the ASF dual-hosted git repository.
hulk pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new 771438bc Only runs sonar action on the main repo (#2038)
771438bc is described below
commit 771438bc2068cf6626745896ad8ebf06f90d374f
Author: 纪华裕 <[email protected]>
AuthorDate: Mon Jan 22 15:07:16 2024 +0800
Only runs sonar action on the main repo (#2038)
---
.github/workflows/sonar.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml
index afbc09b2..4f91bfc9 100644
--- a/.github/workflows/sonar.yaml
+++ b/.github/workflows/sonar.yaml
@@ -26,7 +26,7 @@ jobs:
sonarcloud:
name: Upload to SonarCloud
runs-on: ubuntu-22.04
- if: github.event.workflow_run.conclusion == 'success'
+ if: github.event.workflow_run.conclusion == 'success' &&
github.repository_owner == 'apache'
steps:
- uses: actions/checkout@v3
with: