Try only running code checks when code changes.
This commit is contained in:
parent
5b4f51f698
commit
d139f24d13
|
|
@ -13,6 +13,12 @@ name: "CodeQL"
|
|||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'cmd/**'
|
||||
- 'internal/**'
|
||||
- 'webui/**'
|
||||
- 'integration-tests/**'
|
||||
- 'OliveTin.proto'
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
|
|
|
|||
|
|
@ -1,6 +1,14 @@
|
|||
name: "Codestyle checks"
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'cmd/**'
|
||||
- 'internal/**'
|
||||
- 'webui/**'
|
||||
- 'integration-tests/**'
|
||||
- 'OliveTin.proto'
|
||||
|
||||
|
||||
jobs:
|
||||
codestyle:
|
||||
|
|
|
|||
Loading…
Reference in New Issue