From 746bcb372c2348a0b64d400c73e92b5c48db2937 Mon Sep 17 00:00:00 2001 From: Samuel K Date: Thu, 22 Oct 2026 22:34:27 -0600 Subject: [PATCH] fix(e2e): authenticate self-update dry-run to avoid GitHub rate limit --- e2e/tests/self/self.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/e2e/tests/self/self.go b/e2e/tests/self/self.go index 141a638910..208427a3bc 100644 --- a/e2e/tests/self/self.go +++ b/e2e/tests/self/self.go @@ -19,6 +19,9 @@ var _ = ginkgo.Describe( func(ctx context.Context) { initialDir, err := os.Getwd() framework.ExpectNoError(err, "getting current working directory should not error") + if token := os.Getenv("GH_ACCESS_TOKEN"); token != "" { + ginkgo.GinkgoT().Setenv("GITHUB_TOKEN", token) + } f := framework.NewDefaultFramework(initialDir + "/bin") output, err := f.ExecCommandOutput(ctx, []string{"update", "--dry-run"})