Skip to content

Commit

Permalink
feat: add timeout to Action configs (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamsajj authored Mar 14, 2024
1 parent 488cae4 commit 1d36885
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@

# Dependency directories (remove the comment below to include it)
# vendor/

# Editor files
.vscode
.idea
1 change: 1 addition & 0 deletions act/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ type Action struct {
Metadata map[string]any `json:"metadata"`
Sync bool `json:"sync"`
Terminal bool `json:"terminal"`
Timeout int `json:"timeout"`
Run ActionFunc `json:"-"`
}

0 comments on commit 1d36885

Please sign in to comment.