From 82c1c86d35c60254edf46ae9c9ef211b35270adf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Carceles?= Date: Thu, 22 Feb 2024 16:17:00 +0100 Subject: [PATCH] Add GitHub action for security check --- .github/workflows/security.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/security.yml diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 00000000..830e3f1e --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,18 @@ +name: Security check with Brakeman +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Ruby and install gems + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + + - name: Run Brakeman + run: bundle exec brakeman -z