From c99f0e4f2aa6b388a029be106e9445f9eb4bfb78 Mon Sep 17 00:00:00 2001 From: William Murphy Date: Fri, 6 Oct 2023 17:02:51 +0100 Subject: [PATCH] add codeql to ci --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6cbc205..7218d367 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,12 @@ jobs: name: Security Analysis uses: alphagov/govuk-infrastructure/.github/workflows/brakeman.yml@main + codeql-sast: + name: CodeQL SAST scan + uses: alphagov/govuk-infrastructure/.github/workflows/codeql-analysis.yml@main + permissions: + security-events: write + lint-ruby: name: Lint Ruby uses: alphagov/govuk-infrastructure/.github/workflows/rubocop.yml@main @@ -49,4 +55,3 @@ jobs: RAILS_ENV: test TEST_DATABASE_URL: ${{ steps.setup-postgres.outputs.db-url }} run: bundle exec rake spec -