Skip to content

Commit

Permalink
Add Runner to generate-jitconfig method (#2818)
Browse files Browse the repository at this point in the history
  • Loading branch information
prksu authored Jun 23, 2023
1 parent 187e6e3 commit 1e7c685
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions github/actions_runners.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ type GenerateJITConfigRequest struct {

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

Expand Down
8 changes: 8 additions & 0 deletions github/github-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions github/github-accessors_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1e7c685

Please sign in to comment.