diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8b72690a..eebdfd1a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,10 +13,13 @@ name: "CodeQL" on: push: - branches: [ "master" ] + paths-ignore: + - 'docs/**' + - 'ks_includes/locales/**' pull_request: - # The branches below must be a subset of the branches above - branches: [ "master" ] + paths-ignore: + - 'docs/**' + - 'ks_includes/locales/**' schedule: - cron: '32 21 * * 5' diff --git a/.github/workflows/test_code.yml b/.github/workflows/test_code.yml index f7e94dc0..97c31300 100644 --- a/.github/workflows/test_code.yml +++ b/.github/workflows/test_code.yml @@ -1,5 +1,13 @@ name: test-code -on: [push, pull_request] +on: + push: + paths-ignore: + - 'docs/**' + - 'ks_includes/locales/**' + pull_request: + paths-ignore: + - 'docs/**' + - 'ks_includes/locales/**' jobs: lint-python-code: runs-on: ubuntu-latest