File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1717 - name : Setup Python
1818 uses : actions/setup-python@v5
1919 with :
20- python-version : 3.x
20+ python-version : ' >=3.11 '
2121
2222 - name : Install dependencies
2323 run : pip install -r requirements.txt
Original file line number Diff line number Diff line change @@ -101,19 +101,19 @@ def validate_existing(properties_dict):
101101 # validation on existing contribution is weaker
102102 properties = PropertiesExisting .model_validate (properties_dict )
103103
104- return properties .model_dump ()
104+ return properties .model_dump (exclude_unset = True )
105105
106106def validate_new (properties_dict ):
107107 # new contribution has stronger validation
108108 properties = PropertiesBase .model_validate (properties_dict )
109109
110- return properties .model_dump ()
110+ return properties .model_dump (exclude_unset = True )
111111
112112def validate_new_library (properties_dict ):
113113 # new contribution has stronger validation
114114 properties = LibraryPropertiesNew .model_validate (properties_dict )
115115
116- return properties .model_dump ()
116+ return properties .model_dump (exclude_unset = True )
117117
118118def set_output (output_object ):
119119 with open (os .environ ['GITHUB_OUTPUT' ],'a' ) as f :
You can’t perform that action at this time.
0 commit comments