Skip to content

Commit e5ba174

Browse files
committed
no need for branch
1 parent 7ca46e1 commit e5ba174

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dgctl/cmd/exec.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ var execCmd = &cobra.Command{
289289
log.Printf("server response: %v", *respBody)
290290
os.Exit(1)
291291
}
292-
292+
293293
token := os.Getenv("GITHUB_PAT_TOKEN")
294294
if token == "" {
295295
log.Printf("missing variable: GITHUB_PAT_TOKEN")
@@ -312,7 +312,6 @@ var execCmd = &cobra.Command{
312312
RunName: fmt.Sprintf("digger %v manual run by %v", command, spec.VCS.Actor),
313313
}
314314
_, err = client.Actions.CreateWorkflowDispatchEventByFileName(context.Background(), spec.VCS.RepoOwner, spec.VCS.RepoName, spec.VCS.WorkflowFile, github.CreateWorkflowDispatchEventRequest{
315-
Ref: spec.Job.Branch,
316315
Inputs: inputs.ToMap(),
317316
})
318317

0 commit comments

Comments
 (0)