diff --git a/github/add_to_private.py b/github/add_to_private.py index 9588bf7..8c32304 100755 --- a/github/add_to_private.py +++ b/github/add_to_private.py @@ -33,7 +33,7 @@ def main(): repo.archived, not repo.private, repo.name.endswith('-pass'), - repo.name.contains('-ghsa-'), + '-ghsa-' in repo.name, ]) if skip: continue