Skip to content

Commit

Permalink
Merge pull request #368 from Scalingo/fix/cli/1022/link_scm_data_types
Browse files Browse the repository at this point in the history
fix(events): `link_scm` data types
  • Loading branch information
EtienneM authored Dec 20, 2023
2 parents 5c8c22c + 640c7a2 commit 9fa8b8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## To Be Released

fix(events): link_scm data types

## 6.7.4

* feat(database): add user management
Expand Down
14 changes: 7 additions & 7 deletions events_structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,13 +253,13 @@ type EventLinkSCMTypeData struct {
LinkerUsername string `json:"linker_username"`
Source string `json:"source"`
Branch string `json:"branch"`
AutoDeploy string `json:"auto_deploy"`
AutoDeployReviewApps string `json:"auto_deploy_review_apps"`
DeleteOnClose string `json:"delete_on_close"`
DeleteStale string `json:"delete_stale"`
HoursBeforeDeleteOnClose string `json:"hours_before_delete_on_close"`
HoursBeforeDeleteStale string `json:"hours_before_delete_stale"`
CreationFromForksAllowed string `json:"creation_from_forks_allowed"`
AutoDeploy bool `json:"auto_deploy"`
AutoDeployReviewApps bool `json:"auto_deploy_review_apps"`
DeleteOnClose bool `json:"delete_on_close"`
DeleteStale bool `json:"delete_stale"`
HoursBeforeDeleteOnClose int `json:"hours_before_delete_on_close"`
HoursBeforeDeleteStale int `json:"hours_before_delete_stale"`
CreationFromForksAllowed bool `json:"creation_from_forks_allowed"`
}

type EventUpdateSCMType struct {
Expand Down

0 comments on commit 9fa8b8a

Please sign in to comment.