1
0
mirror of https://gitea.com/gitea/act_runner synced 2026-05-12 20:01:24 +02:00

Use gh auth token for default GITHUB_TOKEN secret (#43)

* initial version
This commit is contained in:
ChristopherHX
2025-02-01 11:07:17 +01:00
committed by GitHub
parent 358722a69f
commit d930a546ec
3 changed files with 61 additions and 0 deletions

11
pkg/gh/gh_test.go Normal file
View File

@@ -0,0 +1,11 @@
package gh
import (
"context"
"testing"
)
func TestGetToken(t *testing.T) {
token, _ := GetToken(context.TODO(), "")
t.Log(token)
}