Update entrypoint

This commit is contained in:
Peter Evans 2019-07-18 18:37:30 +09:00
parent d73557c33a
commit 754ec11bc0
2 changed files with 3 additions and 2 deletions

View file

@ -15,4 +15,4 @@ COPY requirements.txt /tmp/
RUN pip install --requirement /tmp/requirements.txt
COPY create-pull-request.py /create-pull-request.py
ENTRYPOINT [ "python", "/create-pull-request.py" ]
ENTRYPOINT [ "/create-pull-request.py" ]

3
create-pull-request.py Normal file → Executable file
View file

@ -1,4 +1,5 @@
''' create-pull-request.py '''
#!/usr/bin/env python3
''' Create Pull Request '''
import json
import os
from git import Repo