diff --git a/.pullapprove.yml b/.pullapprove.yml new file mode 100644 index 0000000..20c6607 --- /dev/null +++ b/.pullapprove.yml @@ -0,0 +1,20 @@ +version: 3 + +# The following line breaks the yml - 404 page not found error +# extends: https://api.github.com/repos/example/pullapprove-config/contents/.pullapprove.yml + +# If this conditions are not met, it will throw the 'unmet_status'. +pullapprove_conditions: +- condition: "'*travis*' in statuses.successful" + unmet_status: failure + explanation: "Travis CI tests must pass before review starts" + +notifications: +- when: pull_request.opened + comment: | + Please @lauraclarke @mcourtot @clairerye assess this PR and contact the proper people. +- when: pull_request.opened + if: "base.ref != 'dev'" + comment: | + @{{ author }}, please make sure the PR was created against the 'dev' branch. No PR must be merged directly into + master unless specified by the admin of the repository. \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index c8f6c5f..653a328 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,5 @@ ADD src ./src COPY package*.json ./ RUN npm install -CMD ["node", "./src/server.js"] + +CMD ["tail", "-f", "./src/app.js"]