Skip to content

Commit

Permalink
hardcode a non-existent issue to avoid silent failures (#1689)
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes authored Sep 3, 2024
1 parent 3dbd67a commit b0b93f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next/controllers/github_after_merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func handlePushEventApplyAfterMerge(gh nextutils.GithubClientProvider, payload *
// create 2 jobspecs (digger plan, digger apply) using commitID
// TODO: find a way to get issue number from github api PushEvent
// TODO: find a way to set the right PR branch
issueNumber := 14
issueNumber := 0

planJobs, err := generic.CreateJobsForProjects(impactedProjects, "digger plan", "push", repoFullName, requestedBy, config.Workflows, &issueNumber, &commitId, defaultBranch, defaultBranch)
if err != nil {
Expand Down

0 comments on commit b0b93f1

Please sign in to comment.