From 4f252e200c9e265423c680fda0cf0c40bb387287 Mon Sep 17 00:00:00 2001 From: Daniel Tamkin <9532762+DanielTamkin@users.noreply.github.com> Date: Fri, 25 Feb 2022 14:44:26 -0600 Subject: [PATCH] chore: cleanup repo, update README (#7) * chore: remove disabled `Dockerfile` * docs(README): update mentioned version from `v1` to `v1.0.4` --- DISABLEDDockerfile | 31 ------------------------------- README.md | 4 ++-- 2 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 DISABLEDDockerfile diff --git a/DISABLEDDockerfile b/DISABLEDDockerfile deleted file mode 100644 index 5d1ea48..0000000 --- a/DISABLEDDockerfile +++ /dev/null @@ -1,31 +0,0 @@ -# Use the latest version of Node.js -# -# You may prefer the full image: -# FROM node -# -# or even an alpine image (a smaller, faster, less-feature-complete image): -# FROM node:alpine -# -# You can specify a version: -# FROM node:10-slim -FROM node:slim - -# Labels for GitHub to read your action -LABEL "com.github.actions.name"="HasLabel" -LABEL "com.github.actions.description"="GitHub Action that filters a pull_request label. Useful for triggering jobs on certain label events. " -# Here are all of the available icons: https://feathericons.com/ -LABEL "com.github.actions.icon"="filter" -# And all of the available colors: https://developer.github.com/actions/creating-github-actions/creating-a-docker-container/#label -LABEL "com.github.actions.color"="blue" - -# Copy the package.json and package-lock.json -COPY package*.json ./ - -# Install dependencies -RUN npm ci - -# Copy the rest of your action's code -COPY . . - -# Run `node /index.js` -ENTRYPOINT ["node", "./src/index.js"] diff --git a/README.md b/README.md index 49a835e..ca69d84 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v2 - name: Labeled to preview id: haslabel - uses: DanielTamkin/HasLabel@v1 + uses: DanielTamkin/HasLabel@v1.0.4 with: contains: 'preview' - name: Test action @@ -150,7 +150,7 @@ jobs: - uses: actions/checkout@v2 - name: Labeled to preview id: haslabel - uses: DanielTamkin/HasLabel@v1 + uses: DanielTamkin/HasLabel@v1.0.4 with: contains: 'preview' deploy: