Commit 76270f56 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

no CI for ros-release

parent 828a4a16
Pipeline #13483 passed with stage
in 3 minutes and 22 seconds
......@@ -31,6 +31,11 @@ logger = logging.getLogger(__name__)
def check_suite(request: HttpRequest, rep: str) -> HttpResponse:
"""Manage Github's check suites."""
data = loads(request.body.decode())
slug = slugify(data['repository']['name'])
if 'ros-release' in slug: # Don't run check suites on ros-release repositories
return HttpResponse(rep)
return HttpResponse(rep)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment