Try only running code checks when code changes.
This commit is contained in:
parent
5b4f51f698
commit
d139f24d13
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue