feat: add pull request linting action and validation logic

This commit is contained in:
Jan K9f 2025-04-09 17:16:18 +02:00
parent d0e7c0bec7
commit 09380fb8d0
Signed by: jank
GPG key ID: B9F475106B20F144
6 changed files with 154 additions and 0 deletions

16
internal/gitea/gitea.go Normal file
View file

@ -0,0 +1,16 @@
package gitea
import (
"fmt"
"os"
"code.gitea.io/sdk/gitea"
)
func getPrTitle() {
_, err := gitea.NewClient("https://git.kjan.de")
if err != nil {
fmt.Println(err)
os.Exit(1)
}
}