Try only running code checks when code changes.

This commit is contained in:
jamesread 2021-11-18 12:56:18 +00:00
parent 5b4f51f698
commit d139f24d13
2 changed files with 15 additions and 1 deletions

View File

@ -13,6 +13,12 @@ name: "CodeQL"
on: on:
push: push:
paths:
- 'cmd/**'
- 'internal/**'
- 'webui/**'
- 'integration-tests/**'
- 'OliveTin.proto'
branches: [ main ] branches: [ main ]
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

View File

@ -1,6 +1,14 @@
name: "Codestyle checks" name: "Codestyle checks"
on: [push] on:
push:
paths:
- 'cmd/**'
- 'internal/**'
- 'webui/**'
- 'integration-tests/**'
- 'OliveTin.proto'
jobs: jobs:
codestyle: codestyle: