Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit a8732d0

Browse files
committed
Fix bug where hiring commands were using main GitHub org instead of test org
1 parent 6714988 commit a8732d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/hiring_send.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func RunCreateTestRepo(ctx context.Context, candidate string, testRepo string) e
5858
return errors.New("failed to get github client")
5959
}
6060

61-
org := cfg.Github.Organization
61+
org := cfg.GithubTestOrg.Organization
6262
if org == "" {
6363
return errors.New("please provide an organization")
6464
}

cmd/hiring_unseat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func RunUnseat(ctx context.Context, opts *UnseatOpts) error {
5858
return errors.New("failed to get github client")
5959
}
6060

61-
org := cfg.Github.Organization
61+
org := cfg.GithubTestOrg.Organization
6262
if org == "" {
6363
return errors.New("please provide an organization")
6464
}

0 commit comments

Comments
 (0)