From 685b2a732135fbb0364fe6cddc46d8704082e23a Mon Sep 17 00:00:00 2001 From: IronTony Date: Tue, 17 Mar 2026 09:43:28 +0100 Subject: [PATCH 1/2] feat: add CodeQL analysis workflow - Introduced a new GitHub Actions workflow for CodeQL analysis. - Configured to run on pushes and pull requests to the main branch, as well as on a scheduled basis. - Set up to analyze JavaScript and TypeScript code using CodeQL, enhancing code security and quality checks. --- .github/workflows/codeql.yml | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..590d7d7 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,41 @@ +name: CodeQL + +on: + push: + branches: [main] + pull_request: + branches: [main] + schedule: + - cron: "25 14 * * 3" + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + + permissions: + security-events: write + contents: read + actions: read + + strategy: + fail-fast: false + matrix: + language: [javascript-typescript] + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v4 + with: + languages: ${{ matrix.language }} + + - name: Autobuild + uses: github/codeql-action/autobuild@v4 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v4 + with: + category: "/language:${{ matrix.language }}" From 9685587f1c5f7e2d223b7b5e302ab3c2a3d54628 Mon Sep 17 00:00:00 2001 From: IronTony Date: Tue, 17 Mar 2026 09:47:06 +0100 Subject: [PATCH 2/2] chore: remove scheduled CodeQL analysis from workflow --- .github/workflows/codeql.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 590d7d7..c0d23a0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -5,8 +5,6 @@ on: branches: [main] pull_request: branches: [main] - schedule: - - cron: "25 14 * * 3" jobs: analyze: