]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Conditional for SCHEDULED_CODEQL_ANALYSIS
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 2 Feb 2023 17:55:48 +0000 (12:55 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 8 Feb 2023 14:28:23 +0000 (09:28 -0500)
.github/workflows/codeql-analysis.yml

index e86e53a97dc72f0b5f6b2f066364066fa95a5905..c5588b5705dfa9608f28375cc1d7a0edd0979401 100644 (file)
@@ -12,6 +12,7 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   analyze:
     name: Analyze
+    if: ${{ !github.event.schedule || vars.SCHEDULED_CODEQL_ANALYSIS }}
     runs-on: ubuntu-20.04
 
     permissions: