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: branches:
- master - master
- gh-pages - gh-pages
paths-ignore: paths:
- '.github/**' - 'go.mod'
- '.buildkite/**' - 'go.sum'
- 'docs/**' - '**/*.go'
- 'examples/**' - '**/*.ts'
- '*.env' - '**/*.tsx'
- '*.yml' - '**/*.js'
- '*.service' - '**/*.jsx'
- '*.sh'
- '*.md'
- '.all-contributorsrc'
- '.dockerignore'
- '.gitignore'
- '.renovaterc'
- 'Dockerfile'
- 'Dockerfile.*'
- 'LICENSE'
- 'internal/configuration/config.template.yml'
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: branches:
- master - master
paths-ignore: paths:
- '.github/**' - 'go.mod'
- '.buildkite/**' - 'go.sum'
- 'docs/**' - '**/*.go'
- 'examples/**' - '**/*.ts'
- '*.env' - '**/*.tsx'
- '*.yml' - '**/*.js'
- '*.service' - '**/*.jsx'
- '*.sh'
- '*.md'
- '.all-contributorsrc'
- '.dockerignore'
- '.gitignore'
- '.renovaterc'
- 'Dockerfile'
- 'Dockerfile.*'
- 'LICENSE'
- 'internal/configuration/config.template.yml'
schedule: schedule:
- cron: '25 13 * * 3' - cron: '25 13 * * 3'