oasis-open / cti-stix-common-objects

OASIS Cyber Threat Intelligence (CTI) TC: A repository for commonly used STIX objects in order to avoid needless duplication. https://github.com/oasis-open/cti-stix-common-objects
BSD 3-Clause "New" or "Revised" License
84 stars 37 forks source link

GH Action/Script changes #5

Closed emmanvg closed 3 years ago

emmanvg commented 3 years ago

Note: Most likely if not merged before midnight it will have a github-actions commit...

emmanvg commented 3 years ago

My tests can be seen here: https://github.com/emmanvg/cti-stix-common-objects/actions/workflows/cve-daily-update.yml?query=branch%3Aaction-changes

emmanvg commented 3 years ago

reduced overall GH Action time from ~13 mins down to ~2 mins

rpiazza commented 3 years ago

Maybe I'm reading this incorrectly - but should line 41 of validate_content.py be a "if not..."

emmanvg commented 3 years ago

you are correct...