We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6651d2d commit bd7de0cCopy full SHA for bd7de0c
services/actions/notifier_helper.go
@@ -459,6 +459,10 @@ func handleSchedules(
459
460
// DetectAndHandleSchedules detects the schedule workflows on the default branch and create schedule tasks
461
func DetectAndHandleSchedules(ctx context.Context, repo *repo_model.Repository) error {
462
+ if repo.IsEmpty {
463
+ return nil
464
+ }
465
+
466
gitRepo, err := git.OpenRepository(context.Background(), repo.RepoPath())
467
if err != nil {
468
return fmt.Errorf("git.OpenRepository: %w", err)
0 commit comments