feat: add pull request linting action and validation logic
This commit is contained in:
parent
d0e7c0bec7
commit
09380fb8d0
6 changed files with 154 additions and 0 deletions
16
internal/gitea/gitea.go
Normal file
16
internal/gitea/gitea.go
Normal 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)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue