Initial commit

This commit is contained in:
Jonathan Clem
2019-03-29 15:21:48 -07:00
commit ab3b5b5adc
11 changed files with 2289 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM node:slim
LABEL "name"="labeler"
LABEL "maintainer"="GitHub Actions <support+actions@github.com>"
LABEL "version"="1.0.0"
LABEL "com.github.actions.name"="PR Labeller"
LABEL "com.github.actions.description"="An action that labels pull requests according to changed files"
LABEL "com.github.actions.icon"="tag"
LABEL "com.github.actions.color"="orange"
COPY *.md /
COPY package*.json ./
RUN npm ci
COPY entrypoint.js /entrypoint.js
ENTRYPOINT ["node", "/entrypoint.js"]