12 lines
No EOL
266 B
Python
12 lines
No EOL
266 B
Python
#!/usr/bin/env python3
|
|
|
|
|
|
from commands.base import BaseCommand
|
|
from gitlab import get_mrs_for_branch, merge_mr
|
|
|
|
|
|
class Merge(BaseCommand):
|
|
def exec(self, login: str, submission: str):
|
|
iid = get_mrs_for_branch(self.branch)[0]["iid"]
|
|
|
|
merge_mr(iid) |