Skip to content

Commit 8c12b03

Browse files
author
Tony Worm
committed
hof/test: add ENV var to check that the GITHUB_TOKEN is non-zero length
1 parent 6ec4e94 commit 8c12b03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/dagger/testscripts.go

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ func (R *Runtime) SetupTestingEnv(c *dagger.Container, source *dagger.Directory)
2929
// set env vars
3030
c = c.WithEnvVariable("HOF_TELEMETRY_DISABLED", "1")
3131
c = c.WithEnvVariable("GITHUB_TOKEN", os.Getenv("GITHUB_TOKEN"))
32+
c = c.WithEnvVariable("GITHUB_TOKEN_LEN", fmt.Sprintf("%d", len(os.Getenv("GITHUB_TOKEN")))
3233
c = c.WithEnvVariable("HOF_FMT_VERSION", os.Getenv("HOF_FMT_VERSION"))
3334

3435
// set fmt vars

0 commit comments

Comments
 (0)