Skip to content

Commit

Permalink
fix: Path type
Browse files Browse the repository at this point in the history
  • Loading branch information
smorihira committed Sep 6, 2024
1 parent b3e57bf commit e228f93
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions hack/actions/gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ type (
}

On struct {
Schedule Schedule `yaml:"schedule,omitempty"`
Push Push `yaml:"push"`
PullRequest Paths `yaml:"pull_request"`
PullRequestTarget Paths `yaml:"pull_request_target"`
Schedule Schedule `yaml:"schedule,omitempty"`
Push Push `yaml:"push"`
PullRequest PullRequest `yaml:"pull_request"`
PullRequestTarget PullRequest `yaml:"pull_request_target"`
}

Schedule []struct {
Expand All @@ -79,8 +79,8 @@ type (
Tags []string `yaml:"tags"`
}

Paths struct {
Paths []string `yaml:"paths"`
PullRequest struct {
Paths Paths `yaml:"paths"`
}

Jobs struct {
Expand All @@ -97,6 +97,8 @@ type (
Target string `yaml:"target"`
Platforms string `yaml:"platforms,omitempty"`
}

Paths []string
)

type Data struct {
Expand Down

0 comments on commit e228f93

Please sign in to comment.