From e06ce5f410cc2585850b143f74af162e531f8c62 Mon Sep 17 00:00:00 2001 From: Ytemiloluwa Date: Fri, 13 Dec 2024 21:43:49 +0100 Subject: [PATCH] Add CodeQL analysis workflow --- .github/workflows/CodeQL-Analysis.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/CodeQL-Analysis.yml b/.github/workflows/CodeQL-Analysis.yml index 534144dc..f3e70c37 100644 --- a/.github/workflows/CodeQL-Analysis.yml +++ b/.github/workflows/CodeQL-Analysis.yml @@ -1,4 +1,5 @@ -name: "CodeQL Analysis" +name: CodeQL Analysis + on: push: branches: @@ -8,23 +9,18 @@ on: - main jobs: - security-scan: - name: Run CodeQL Analysis + analyze: + name: Analyze CodeQL runs-on: ubuntu-latest steps: - - name: Checkout code + - name: Checkout repository uses: actions/checkout@v3 - - name: Set up CodeQL + - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: - languages: 'swift' - - - name: Autobuild - uses: github/codeql-action/autobuild@v2 + languages: swift - - name: Run CodeQL Analysis + - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 - with: - category: security