From 7b27a8794867faab861b151be2995e4b3378fd52 Mon Sep 17 00:00:00 2001 From: Miguel Savignano Date: Fri, 1 Nov 2019 20:07:05 +0100 Subject: [PATCH] action yml --- Dockerfile | 8 -------- action.yml | 9 +++++++++ lib/action.json | 8 -------- 3 files changed, 9 insertions(+), 16 deletions(-) create mode 100644 action.yml delete mode 100644 lib/action.json diff --git a/Dockerfile b/Dockerfile index bcab1f2..852d75d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,5 @@ FROM ruby:2.6.5-alpine -LABEL "com.github.actions.name"="Brakeman linter" -LABEL "com.github.actions.description"="A GitHub Action that lints your Ruby code with Brakeman!" -LABEL "com.github.actions.icon"="code" -LABEL "com.github.actions.color"="red" -LABEL "repository"="https://github.com/devmasx/brakeman-linter-action" -LABEL "maintainer"="Miguel Savignano " -LABEL "version"="1.0.0" - RUN gem install brakeman COPY lib /action/lib diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..e6bc377 --- /dev/null +++ b/action.yml @@ -0,0 +1,9 @@ +name: "Brakeman linter" +description: "A GitHub Action that lints your Ruby code with Brakeman!" +author: Miguel Savignano +runs: + using: "docker" + image: "Dockerfile" +branding: + icon: "code" + color: "red" diff --git a/lib/action.json b/lib/action.json deleted file mode 100644 index cce7323..0000000 --- a/lib/action.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "repository": { - "owner": { - "login": "devmasx" - }, - "name": "brakeman-linter" - } -}