We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bb3fc1 commit b1663f1Copy full SHA for b1663f1
1 file changed
scripts/automated_ingestion/eessi_task.py
@@ -114,7 +114,9 @@ def _determine_task_action(self) -> EESSITaskAction:
114
return EESSITaskAction.ADD
115
elif action_str == "update":
116
return EESSITaskAction.UPDATE
117
- return EESSITaskAction.UNKNOWN
+ # temporarily return EESSITaskAction.ADD as default because the metadata
118
+ # file does not yet have an action defined yet
119
+ return EESSITaskAction.ADD
120
121
@log_function_entry_exit()
122
def _state_file_with_prefix_exists_in_repo_branch(self, file_path_prefix: str, branch_name: str = None) -> bool:
0 commit comments