ci: codeql only on code changes (#3108)

This commit is contained in:
James Elliott 2022-04-04 10:02:33 +10:00 committed by GitHub
parent 2502d89682
commit ee9ce27ccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,46 +18,26 @@ on:
branches:
- master
- gh-pages
paths-ignore:
- '.github/**'
- '.buildkite/**'
- 'docs/**'
- 'examples/**'
- '*.env'
- '*.yml'
- '*.service'
- '*.sh'
- '*.md'
- '.all-contributorsrc'
- '.dockerignore'
- '.gitignore'
- '.renovaterc'
- 'Dockerfile'
- 'Dockerfile.*'
- 'LICENSE'
- 'internal/configuration/config.template.yml'
paths:
- 'go.mod'
- 'go.sum'
- '**/*.go'
- '**/*.ts'
- '**/*.tsx'
- '**/*.js'
- '**/*.jsx'
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
paths-ignore:
- '.github/**'
- '.buildkite/**'
- 'docs/**'
- 'examples/**'
- '*.env'
- '*.yml'
- '*.service'
- '*.sh'
- '*.md'
- '.all-contributorsrc'
- '.dockerignore'
- '.gitignore'
- '.renovaterc'
- 'Dockerfile'
- 'Dockerfile.*'
- 'LICENSE'
- 'internal/configuration/config.template.yml'
paths:
- 'go.mod'
- 'go.sum'
- '**/*.go'
- '**/*.ts'
- '**/*.tsx'
- '**/*.js'
- '**/*.jsx'
schedule:
- cron: '25 13 * * 3'