@@ -14,21 +14,23 @@ import (
1414// Actions settings 
1515var  (
1616	Actions  =  struct  {
17- 		Enabled                bool 
18- 		LogStorage             * Storage           // how the created logs should be stored 
19- 		LogRetentionDays       int64              `ini:"LOG_RETENTION_DAYS"` 
20- 		LogCompression         logCompression     `ini:"LOG_COMPRESSION"` 
21- 		ArtifactStorage        * Storage           // how the created artifacts should be stored 
22- 		ArtifactRetentionDays  int64              `ini:"ARTIFACT_RETENTION_DAYS"` 
23- 		DefaultActionsURL      defaultActionsURL  `ini:"DEFAULT_ACTIONS_URL"` 
24- 		ZombieTaskTimeout      time.Duration      `ini:"ZOMBIE_TASK_TIMEOUT"` 
25- 		EndlessTaskTimeout     time.Duration      `ini:"ENDLESS_TASK_TIMEOUT"` 
26- 		AbandonedJobTimeout    time.Duration      `ini:"ABANDONED_JOB_TIMEOUT"` 
27- 		SkipWorkflowStrings    []string           `ini:"SKIP_WORKFLOW_STRINGS"` 
17+ 		Enabled                 bool 
18+ 		LogStorage              * Storage           // how the created logs should be stored 
19+ 		LogRetentionDays        int64              `ini:"LOG_RETENTION_DAYS"` 
20+ 		LogCompression          logCompression     `ini:"LOG_COMPRESSION"` 
21+ 		ArtifactStorage         * Storage           // how the created artifacts should be stored 
22+ 		ArtifactRetentionDays   int64              `ini:"ARTIFACT_RETENTION_DAYS"` 
23+ 		DefaultActionsURL       defaultActionsURL  `ini:"DEFAULT_ACTIONS_URL"` 
24+ 		ZombieTaskTimeout       time.Duration      `ini:"ZOMBIE_TASK_TIMEOUT"` 
25+ 		EndlessTaskTimeout      time.Duration      `ini:"ENDLESS_TASK_TIMEOUT"` 
26+ 		AbandonedJobTimeout     time.Duration      `ini:"ABANDONED_JOB_TIMEOUT"` 
27+ 		SkipWorkflowStrings     []string           `ini:"SKIP_WORKFLOW_STRINGS"` 
28+ 		EnableAutoCancellation  bool               `ini:"ENABLE_AUTO_CANCELLATION"` 
2829	}{
29- 		Enabled :             true ,
30- 		DefaultActionsURL :   defaultActionsURLGitHub ,
31- 		SkipWorkflowStrings : []string {"[skip ci]" , "[ci skip]" , "[no ci]" , "[skip actions]" , "[actions skip]" },
30+ 		Enabled :                true ,
31+ 		DefaultActionsURL :      defaultActionsURLGitHub ,
32+ 		SkipWorkflowStrings :    []string {"[skip ci]" , "[ci skip]" , "[no ci]" , "[skip actions]" , "[actions skip]" },
33+ 		EnableAutoCancellation : true ,
3234	}
3335)
3436
0 commit comments