1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 06:18:07 +00:00

add codeql workflow

This commit is contained in:
Nebel 2023-11-08 16:24:13 +09:00
parent 962b721a24
commit 96c5774e6c
Signed by: nebel
GPG key ID: 79807D08C6EF6460

26
.github/workflows/codeql.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: codeql
on:
push:
branches:
- main
jobs:
analyze:
runs-on: ubuntu-latest
strategy:
matrix:
language:
- javascript
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"