From 369574376b42e91b515793782fee22fb3567e17a Mon Sep 17 00:00:00 2001 From: Sulka Haro Date: Mon, 15 Feb 2021 09:06:52 +0200 Subject: [PATCH] * Only run CodeQL in NS repo (#6873) * Fix server.js location for Azure --- .github/workflows/codeql-analysis.yml | 1 + web.config | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ab1a7b170960..096ebf0bde85 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -25,6 +25,7 @@ jobs: analyze: name: Analyze runs-on: ubuntu-latest + if: github.ref == 'refs/heads/dev' && github.repository_owner == 'nightscout' strategy: fail-fast: false diff --git a/web.config b/web.config index 6b7f5e92f66d..b9ca262dd3de 100644 --- a/web.config +++ b/web.config @@ -4,7 +4,7 @@ - + @@ -26,7 +26,7 @@ - +