github/add_to_private: replace contains usage
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
d6408e14f8
commit
3d4634b806
|
@ -33,7 +33,7 @@ def main():
|
||||||
repo.archived,
|
repo.archived,
|
||||||
not repo.private,
|
not repo.private,
|
||||||
repo.name.endswith('-pass'),
|
repo.name.endswith('-pass'),
|
||||||
repo.name.contains('-ghsa-'),
|
'-ghsa-' in repo.name,
|
||||||
])
|
])
|
||||||
if skip:
|
if skip:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue