fix commit

This commit is contained in:
2022-11-27 01:56:07 +01:00
parent 9f2bc08429
commit 4345f9c39b
26 changed files with 2441 additions and 68 deletions

Binary file not shown.

View File

@@ -1,6 +1,10 @@
package main
import "github.com/bitfield/script"
import (
"os"
"github.com/bitfield/script"
)
func main() {
_, err := script.
@@ -10,4 +14,25 @@ func main() {
if err != nil {
panic(err)
}
println("ran stuff")
entries, err := os.ReadDir(".")
if err != nil {
panic(err)
}
for _, entry := range entries {
if !entry.IsDir() {
file, err := os.ReadFile(entry.Name())
if err != nil {
panic(err)
}
println(string(file))
}
}
wd, err := os.Getwd()
if err != nil {
panic(err)
}
println(wd)
}

View File

@@ -1,19 +1,19 @@
apiVersion: action
name: write-a-readme
select:
github:
repositories:
- kjuulh/octopush-test
push:
pull-request:
name: "write a readme"
# github:
# repositories:
# - kjuulh/octopush-test
# push:
# pull-request:
# name: "write a readme"
gitea:
repositories:
- kjuulh/octopush-test
push:
pull-request:
name: "write a readme"
# gitea:
# repositories:
# - kjuulh/octopush-test
# push:
# pull-request:
# name: "write a readme"
git:
repositories: