ci: skip codeql for markdown changes

This commit is contained in:
Filip Skokan 2020-07-24 13:55:31 +02:00
parent fcbc468d24
commit 495a7873a4

View file

@ -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