Skip to content

for testing6

for testing6 #6

name: CodeQL codescan workflow
on:
pull_request:
branches:
- '**'
push:
branches:
- '**'
jobs:
CodeQL:
if: ${{ github.actor != 'dependabot[bot]' }}
name: Analyse Code With CodeQL
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'typescript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
debug: true
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "language:${{ matrix.language }}"
- name: Upload SARIF to GitHub Security
uses: github/codeql-action/upload-sarif@v2