diff --git a/.dockerignore b/.dockerignore index eebffd3..473803b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,3 +3,5 @@ Gemfile Gemfile.lock LICENSE README.md +screenshots +.github diff --git a/Dockerfile b/Dockerfile index 852d75d..e899ed6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM ruby:2.6.5-alpine -RUN gem install brakeman - COPY lib /action/lib CMD ["ruby", "/action/lib/index.rb"] diff --git a/Gemfile b/Gemfile index 4e706eb..7bf03ee 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,6 @@ source 'https://rubygems.org' group :development do - gem 'brakeman' gem 'rubocop' end diff --git a/Gemfile.lock b/Gemfile.lock index 9fdc123..ac0c4bc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,7 +4,6 @@ GEM addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) ast (2.4.0) - brakeman (4.7.1) coderay (1.1.2) crack (0.4.3) safe_yaml (~> 1.0.0) @@ -52,7 +51,6 @@ PLATFORMS ruby DEPENDENCIES - brakeman pry rspec rubocop diff --git a/README.md b/README.md index 80adf39..b21e08a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -## Brakeman github action +## Coverage check -Check your coverage percentage. +Check your coverage minimum coverage percentage. ### Usage diff --git a/action.yml b/action.yml index eeca20f..846fefa 100644 --- a/action.yml +++ b/action.yml @@ -1,9 +1,9 @@ -name: "Brakeman linter" -description: "A GitHub Action that lints your Ruby code with Brakeman!" +name: "Coverage check" +description: "A GitHub Action that check minimum coverage percentage!" author: Miguel Savignano branding: icon: "check-square" - color: "red" + color: "green" inputs: type: description: "simplecov | jest"