We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8643be commit 9987ebcCopy full SHA for 9987ebc
1 file changed
backend/application/import_observations/services/import_observations.py
@@ -765,6 +765,9 @@ def _get_initial_status(product: Product) -> str:
765
766
767
def _get_github_issue_id(observation: Observation) -> Optional[str]:
768
+ if not observation.vulnerability_id:
769
+ return None
770
+
771
github_pat = os.getenv("GITHUB_ISSUES_PAT")
772
if not github_pat:
773
return None
0 commit comments