Skip to content

Commit

Permalink
Merge pull request #14 from jhrozek/tags
Browse files Browse the repository at this point in the history
Add json tags to the Action struct
  • Loading branch information
JAORMX authored Nov 22, 2023
2 parents 8f6b150 + 07990fa commit 7867501
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/ghactions/ghactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ func ModifyReferencesInYAML(ctx context.Context, ghcli *github.Client, node *yam

// Action represents an action reference.
type Action struct {
Action string
Owner string
Repo string
Ref string
Action string `json:"action"`
Owner string `json:"owner"`
Repo string `json:"repo"`
Ref string `json:"ref"`
}

// ListActionsInYAML returns a list of actions referenced in the given YAML structure.
Expand Down

0 comments on commit 7867501

Please sign in to comment.