diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index afbc211a..bb22f1d6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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'