with semantic
This commit is contained in:
parent
b12d7f8a00
commit
f96ec96786
9
_examples/queries/find_semantic/kraken.yml
Normal file
9
_examples/queries/find_semantic/kraken.yml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: git.front.kjuulh.io/kjuulh/kraken/blob/main/schema/v1
|
||||
name: write-a-readme
|
||||
select:
|
||||
providers:
|
||||
- gitea: https://git.front.kjuulh.io
|
||||
organisation: "cibus"
|
||||
queries:
|
||||
- type: grep
|
||||
query: "releaser"
|
@ -12,7 +12,7 @@ func New() (*zap.Logger, error) {
|
||||
return lvl >= zapcore.ErrorLevel
|
||||
})
|
||||
lowPriority := zap.LevelEnablerFunc(func(lvl zapcore.Level) bool {
|
||||
return lvl < zapcore.ErrorLevel
|
||||
return lvl < zapcore.ErrorLevel && lvl > zapcore.DebugLevel
|
||||
})
|
||||
|
||||
config := zap.NewDevelopmentEncoderConfig()
|
||||
@ -28,5 +28,6 @@ func New() (*zap.Logger, error) {
|
||||
)
|
||||
|
||||
logger := zap.New(core)
|
||||
|
||||
return logger, nil
|
||||
}
|
||||
|
@ -40,6 +40,7 @@
|
||||
- [ ] Setup CI
|
||||
- [ ] Setup static analysis
|
||||
- [ ] Setup releases on gitea using drone
|
||||
- [ ] Figure out a license (probably MIT)
|
||||
|
||||
## Version 0.3
|
||||
|
||||
|
@ -4,5 +4,8 @@ set -e
|
||||
|
||||
current_branch=$(git branch --show-current)
|
||||
|
||||
go run cmd/kraken/kraken.go process --actions-repo "git@git.front.kjuulh.io:kjuulh/kraken.git" --branch "$current_branch" --path "_examples/actions/write_a_readme"
|
||||
go run cmd/kraken/kraken.go process --actions-repo "git@git.front.kjuulh.io:kjuulh/kraken.git" --branch "$current_branch" --path "_examples/queries/scrape_readme"
|
||||
#go run cmd/kraken/kraken.go process --actions-repo "git@git.front.kjuulh.io:kjuulh/kraken.git" --branch "$current_branch" --path "_examples/actions/write_a_readme"
|
||||
go run cmd/kraken/kraken.go process \
|
||||
--actions-repo "git@git.front.kjuulh.io:kjuulh/kraken.git"\
|
||||
--branch "$current_branch" \
|
||||
--path "_examples/queries/find_semantic"
|
||||
|
Loading…
Reference in New Issue
Block a user