v0.1 #8

Merged
kjuulh merged 15 commits from v0.1 into main 2022-09-18 16:49:35 +02:00
5 changed files with 24 additions and 0 deletions
Showing only changes of commit c7e773be93 - Show all commits

View File

@ -0,0 +1,5 @@
package main
func main() {
}

View File

@ -0,0 +1,4 @@
module write_a_readme
go 1.19

View File

@ -0,0 +1,8 @@
apiVersion: kraken.front.kjuulh.io/schema/v1
name: write-a-readme
repositories:
- git@git.front.kjuulh.io:kjuulh/kraken-test.git
predicates:
- predicate.go
actions:
- action.go

View File

@ -0,0 +1 @@
package main

6
pkg/actions/interface.go Normal file
View File

@ -0,0 +1,6 @@
package actions
import "context"
type Predicate func(ctx context.Context, path string) (bool, error)
type Action func(ctx context.Context, path string) error