mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	Revert "Fix schedule tasks bugs (#28691)"
This reverts commit 97292da960.
	
	
This commit is contained in:
		
					parent
					
						
							
								dce3a7c0f6
							
						
					
				
			
			
				commit
				
					
						3249d2806c
					
				
			
		
					 19 changed files with 90 additions and 206 deletions
				
			
		|  | @ -47,7 +47,7 @@ func TestPullRequestTargetEvent(t *testing.T) { | |||
| 		assert.NotEmpty(t, baseRepo) | ||||
| 
 | ||||
| 		// enable actions | ||||
| 		err = repo_service.UpdateRepositoryUnits(db.DefaultContext, baseRepo, []repo_model.RepoUnit{{ | ||||
| 		err = repo_model.UpdateRepositoryUnits(db.DefaultContext, baseRepo, []repo_model.RepoUnit{{ | ||||
| 			RepoID: baseRepo.ID, | ||||
| 			Type:   unit_model.TypeActions, | ||||
| 		}}, nil) | ||||
|  | @ -216,7 +216,7 @@ func TestSkipCI(t *testing.T) { | |||
| 		assert.NotEmpty(t, repo) | ||||
| 
 | ||||
| 		// enable actions | ||||
| 		err = repo_service.UpdateRepositoryUnits(db.DefaultContext, repo, []repo_model.RepoUnit{{ | ||||
| 		err = repo_model.UpdateRepositoryUnits(db.DefaultContext, repo, []repo_model.RepoUnit{{ | ||||
| 			RepoID: repo.ID, | ||||
| 			Type:   unit_model.TypeActions, | ||||
| 		}}, nil) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue