Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: start workflow with a fork #5109

Merged
merged 2 commits into from Apr 8, 2020
Merged

fix: start workflow with a fork #5109

merged 2 commits into from Apr 8, 2020

Conversation

sguiheux
Copy link
Collaborator

@sguiheux sguiheux commented Apr 7, 2020

  1. Description
  2. Related issues
  3. About tests
  4. Mentions

@ovh/cds

@@ -1183,6 +1183,9 @@ func checkHooks(db gorp.SqlExecutor, w *sdk.Workflow, n *sdk.Node) error {
w.HookModels[hm.ID] = *hm
h.HookModelID = hm.ID
}
if h.HookModelName == sdk.RepositoryWebHookModelName && (n.Context == nil || n.Context.ApplicationID == 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a risk that we will be unable to load some existing workflows, we have to make a migration is any

@sguiheux sguiheux merged commit b189499 into master Apr 8, 2020
@sguiheux sguiheux deleted the startWithFork branch April 10, 2020 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants