You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ma...@apache.org on 2024/05/06 14:46:14 UTC

(kafka) branch trunk updated: KAFKA-16646: KAFKA-16646Don't run cve scan job on forks (#15831)

This is an automated email from the ASF dual-hosted git repository.

manikumar pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 0b4eaefd863 KAFKA-16646: KAFKA-16646Don't run cve scan job on forks (#15831)
0b4eaefd863 is described below

commit 0b4eaefd863e911c211f3defccd75c0ae78e14d2
Author: Vedarth Sharma <14...@users.noreply.github.com>
AuthorDate: Mon May 6 20:16:07 2024 +0530

    KAFKA-16646: KAFKA-16646Don't run cve scan job on forks (#15831)
    
    Minor fix PR to ensure scan job runs only on apache/kafka
    
    Reviewers: Chia-Ping Tsai <ch...@gmail.com>, Igor Soarez <so...@apple.com>
---
 .github/workflows/docker_scan.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/docker_scan.yml b/.github/workflows/docker_scan.yml
index 7d9ecfe6192..bdc8eafbe6e 100644
--- a/.github/workflows/docker_scan.yml
+++ b/.github/workflows/docker_scan.yml
@@ -21,6 +21,7 @@ on:
   workflow_dispatch:
 jobs:
   scan_jvm:
+    if: github.repository == 'apache/kafka'
     runs-on: ubuntu-latest
     strategy:
       matrix: