Browse code

Only run coverity scan in OpenVPN/OpenVPN repository

This avoids the error message triggering every night that the run
failed in forked repositories

Change-Id: Id95e0124d943912439c6ec6f562c0eb40d434163
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20240506155831.3524-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28627.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>

Arne Schwabe authored on 2024/05/07 00:58:31
Showing 1 changed files
... ...
@@ -6,6 +6,9 @@ on:
6 6
 
7 7
 jobs:
8 8
   latest:
9
+    # Running coverity requires the secrets.COVERITY_SCAN_TOKEN token
10
+    # which is only available on the main repository
11
+    if: github.repository_owner == 'OpenVPN'
9 12
     runs-on: ubuntu-latest
10 13
     steps:
11 14
       - name: Check submission cache