From 482efd8bd167d2698443a7aac866b08b1a2d0f95 Mon Sep 17 00:00:00 2001 From: Qiushi Pan <17402261+qqpann@users.noreply.github.com> Date: Sun, 12 Jul 2026 20:35:17 +0900 Subject: [PATCH] chore: update CodeQL action to v3 --- .github/workflows/codeql-analysis.yml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c08ed53..586c2f5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,5 +1,3 @@ -# Reusable workflow for code analysis; to eject, you can replace this file with -# https://github.com/ryansonshine/ryansonshine/blob/main/.github/workflows/codeql-analysis.yml name: "CodeQL" permissions: @@ -18,4 +16,25 @@ on: jobs: analyze: - uses: ryansonshine/ryansonshine/.github/workflows/codeql-analysis.yml@main + name: Analyze (${{ matrix.language }}) + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + language: ["javascript"] + + steps: + - name: Checkout repository + uses: actions/checkout@v5 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + + - name: Autobuild + uses: github/codeql-action/autobuild@v3 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3