Skip to content

Commit 1e7c685

Browse files
authored
Add Runner to generate-jitconfig method (#2818)
1 parent 187e6e3 commit 1e7c685

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

github/actions_runners.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ type GenerateJITConfigRequest struct {
5858

5959
// JITRunnerConfig represents encoded JIT configuration that can be used to bootstrap a self-hosted runner.
6060
type JITRunnerConfig struct {
61+
Runner *Runner `json:"runner,omitempty"`
6162
EncodedJITConfig *string `json:"encoded_jit_config,omitempty"`
6263
}
6364

github/github-accessors.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)