@@ -31,12 +31,12 @@ import (
3131 "github.com/googleapis/librarian/internal/images"
3232)
3333
34- var testToken = os .Getenv ("TEST_GITHUB_TOKEN " )
35- var githubAction = os .Getenv ("GITHUB_ACTION " )
34+ var testToken = os .Getenv ("LIBRARIAN_TEST_GITHUB_TOKEN " )
35+ var githubAction = os .Getenv ("LIBRARIAN_GITHUB_ACTION " )
3636
3737func TestGetRawContentSystem (t * testing.T ) {
3838 if testToken == "" {
39- t .Skip ("TEST_GITHUB_TOKEN not set, skipping GitHub integration test" )
39+ t .Skip ("LIBRARIAN_TEST_GITHUB_TOKEN not set, skipping GitHub integration test" )
4040 }
4141 repoName := "https://github.com/googleapis/librarian"
4242
@@ -114,11 +114,11 @@ func TestPullRequestSystem(t *testing.T) {
114114 // Fetch the pull request
115115 // Close the pull request
116116 if testToken == "" {
117- t .Skip ("TEST_GITHUB_TOKEN not set, skipping GitHub integration test" )
117+ t .Skip ("LIBRARIAN_TEST_GITHUB_TOKEN not set, skipping GitHub integration test" )
118118 }
119- testRepoName := os .Getenv ("TEST_GITHUB_REPO " )
119+ testRepoName := os .Getenv ("LIBRARIAN_TEST_GITHUB_REPO " )
120120 if testRepoName == "" {
121- t .Skip ("TEST_GITHUB_REPO not set, skipping GitHub integration test" )
121+ t .Skip ("LIBRARIAN_TEST_GITHUB_REPO not set, skipping GitHub integration test" )
122122 }
123123
124124 // Clone a repo
@@ -298,7 +298,7 @@ func TestPullRequestSystem(t *testing.T) {
298298
299299func TestFindMergedPullRequest (t * testing.T ) {
300300 if testToken == "" {
301- t .Skip ("TEST_GITHUB_TOKEN not set, skipping GitHub integration test" )
301+ t .Skip ("LIBRARIAN_TEST_GITHUB_TOKEN not set, skipping GitHub integration test" )
302302 }
303303 repoName := "https://github.com/googleapis/librarian"
304304 repo , err := github .ParseRemote (repoName )
@@ -364,11 +364,11 @@ func TestFindMergedPullRequest(t *testing.T) {
364364
365365func TestCreateTag (t * testing.T ) {
366366 if testToken == "" {
367- t .Skip ("TEST_GITHUB_TOKEN not set, skipping GitHub integration test" )
367+ t .Skip ("LIBRARIAN_TEST_GITHUB_TOKEN not set, skipping GitHub integration test" )
368368 }
369- testRepoName := os .Getenv ("TEST_GITHUB_REPO " )
369+ testRepoName := os .Getenv ("LIBRARIAN_TEST_GITHUB_REPO " )
370370 if testRepoName == "" {
371- t .Skip ("TEST_GITHUB_REPO not set, skipping GitHub integration test" )
371+ t .Skip ("LIBRARIAN_TEST_GITHUB_REPO not set, skipping GitHub integration test" )
372372 }
373373 repo , err := github .ParseRemote (testRepoName )
374374 if err != nil {
@@ -404,11 +404,11 @@ func TestCreateTag(t *testing.T) {
404404
405405func TestCreateRelease (t * testing.T ) {
406406 if testToken == "" {
407- t .Skip ("TEST_GITHUB_TOKEN not set, skipping GitHub integration test" )
407+ t .Skip ("LIBRARIAN_TEST_GITHUB_TOKEN not set, skipping GitHub integration test" )
408408 }
409- testRepoName := os .Getenv ("TEST_GITHUB_REPO " )
409+ testRepoName := os .Getenv ("LIBRARIAN_TEST_GITHUB_REPO " )
410410 if testRepoName == "" {
411- t .Skip ("TEST_GITHUB_REPO not set, skipping GitHub integration test" )
411+ t .Skip ("LIBRARIAN_TEST_GITHUB_REPO not set, skipping GitHub integration test" )
412412 }
413413 repo , err := github .ParseRemote (testRepoName )
414414 if err != nil {
0 commit comments