Skip to content

Commit

Permalink
fix: issue with datahub version for security alert action (#269)
Browse files Browse the repository at this point in the history
fix: issue with datahub version for security alert aciton
  • Loading branch information
LavMatt committed Sep 19, 2024
1 parent dbefd42 commit bd9828c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/filter_advisories.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ def main():
last_run_datetime_str: str = sys.argv[2].strip()

current_version_str: str = sys.argv[1]

# trim version str to adhere to semantic versioning
version_parts = current_version_str.split(".")
current_version_str = ".".join(version_parts[:3])
current_version = parse_version_string(current_version_str)

last_run_date: datetime = datetime.fromisoformat(last_run_datetime_str)
Expand Down

0 comments on commit bd9828c

Please sign in to comment.