From 495a7873a4e70e4bdd87026e992bbd8a34e8a2ef Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Fri, 24 Jul 2020 13:55:31 +0200 Subject: [PATCH] ci: skip codeql for markdown changes --- .github/workflows/codeql-analysis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6028905f..850ec51d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,7 +2,11 @@ name: "Code scanning - action" on: push: + paths-ignore: + - '**.md' pull_request: + paths-ignore: + - '**.md' schedule: - cron: '0 6 * * 0' @@ -23,7 +27,7 @@ jobs: # the head of the pull request instead of the merge commit. - run: git checkout HEAD^2 if: ${{ github.event_name == 'pull_request' }} - + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1