2021-07-31 22:33:07 +09:00
|
|
|
name: CodeQL
|
2021-07-31 20:29:00 +09:00
|
|
|
on: [push, pull_request]
|
2022-06-09 10:08:19 +09:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-07-31 20:29:00 +09:00
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
language: [javascript]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-09-04 21:51:59 +09:00
|
|
|
uses: actions/checkout@v4
|
2023-04-28 18:42:19 +09:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-07-31 20:29:00 +09:00
|
|
|
|
|
|
|
- name: Initialize CodeQL
|
2023-12-18 21:39:26 +09:00
|
|
|
uses: github/codeql-action/init@v3
|
2021-07-31 20:29:00 +09:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
2021-07-31 22:33:07 +09:00
|
|
|
queries: security-and-quality
|
2021-07-31 20:29:00 +09:00
|
|
|
|
|
|
|
- name: Autobuild CodeQL
|
2023-12-18 21:39:26 +09:00
|
|
|
uses: github/codeql-action/autobuild@v3
|
2021-07-31 20:29:00 +09:00
|
|
|
|
|
|
|
- name: Perform CodeQL analysis
|
2023-12-18 21:39:26 +09:00
|
|
|
uses: github/codeql-action/analyze@v3
|