diff --git a/_work b/_work deleted file mode 160000 index 5a92d184..00000000 --- a/_work +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5a92d184987154324841d459b4c6128e824fe26b diff --git a/internal/target/git/auth/github_test.go b/internal/target/git/auth/github_test.go deleted file mode 100644 index c3ee9f6c..00000000 --- a/internal/target/git/auth/github_test.go +++ /dev/null @@ -1,20 +0,0 @@ -package auth - -import ( - "fmt" - "testing" -) - -func TestGithub(t *testing.T) { - privateKey := "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBM3Q0L2dRN2ZoQkFsaVlod1BRTUpwNFh5K3Nwc2VtU2JOd1J5R01HL1B4THUrUGZGCkVaZTQ0dVdOZ2NtaWJGMVNFeDUvY2ZoZXFnL1R6YjlVUkhyLzQ3MjEyL3NvZlJLVUtPbmJ5TnhaQ1pJUUNVK1EKRDdxTkVWVC93NmlGbjkxNjFyRTNFWk1Rb0JkbDdUdTZXZXlWeWE4bU45S0tXWjQvTDR2aktlbFZrNzRrUnFMUApOdG1SalhsVmpBbWZML0piTzRMTmVvWndrRlpFcWE1eXBqM0cyckFoQ1BJcS9RK0MwT1hwYk5XRWVzKzNmV1BtCkVZOHN1dGpiTjlKbnpxc1ByZjFwdkFUY0RrU3EzMlFDalJuVjBMZTFKbVRhNUV6YkFZdmYxWVdIQjBVR1VaQWIKT1Bta3JLOEJ2QVRYY0FkRFpES21qS0VuVkdkQ292c2VlZFlRVlFJREFRQUJBb0lCQVFEUlhocHNaSXVJSmg4TgpjQlo0eXFURU11c0x2U1JoYXFnQjdIUS9XNndOVmYwWCtMT3lqa1VMS3JsZ0p3c21JQmtkaXZZUkhGSGFFMXBYCm5CbE81L29DZWRNaG9IWHQ0WWs4VWsyK0NYcS9xZTdVd0dERzFlcjJVRktoL1d2aXZnOUxKMXBqY1RRYUlVRUkKdDZhZUdjcXhtSkFmdXZOcnMyVUtockRXUzdTd1FCdnllVTdpOG50WUx0MTg2TXA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U0U0Mm9IdHlXbk5YWHYyQ3VVakQ1Yy9pUG43Zks4SksrdEwvS1p4UCt3ZU92bU56bm9pWjc0T1JEVFg5Yk80CnRXVGNrWkVDZ1lBdDl0dDhneHlvVFpvQjl6d3RpakcrTFAxM3JteEg4d3c1VGZMODV3U2hDMElpZ3FITVJJT2gKeURHNkFiMnJ0cVNNNWN2M05TcGFFd2UxSzhjSVYzMkx2M3EyTzVjdUswNkc2MDVMMFVweDlZZ2pCVjByZkR0SQpqY2QvOSs4QkF3alB1TVgxRmZTTXNXNTFkdjdjRVd0bkNSaGNQZlphRFU1RExzWDNqNUtYWGc9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=" - appID := "236826" - appInstallationID := "29089394" - - a := GitHubAuthenticator{PrivateKey: privateKey, AppID: appID, AppInstallationID: appInstallationID} - gitAuth, err := a.ResolveAuth() - if err != nil { - panic(err) - } - - fmt.Println(gitAuth.String()) -}