Use gh auth token for default GITHUB_TOKEN secret (#2651)
* initial version
This commit is contained in:
11
pkg/gh/gh_test.go
Normal file
11
pkg/gh/gh_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package gh
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGetToken(t *testing.T) {
|
||||
token, _ := GetToken(context.TODO(), "")
|
||||
t.Log(token)
|
||||
}
|
||||
Reference in New Issue
Block a user