From 3d4634b80611598012ce1f67d82f62bf6960ef4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Mon, 11 Sep 2023 19:48:43 +0200 Subject: [PATCH] github/add_to_private: replace contains usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- github/add_to_private.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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