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

Commit d6fc751

Browse files
authored
Merge pull request #11 from hellofresh/hotfix/fix-github-test-org
Fix bug where hiring commands were using main GitHub org instead of test org
2 parents 6714988 + a8732d0 commit d6fc751

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)