Create codeql-analysis GitHub Action (#1812)

This commit is contained in:
Christian Oliff 2022-10-18 22:25:06 +09:00 committed by GitHub
parent 63b3e082e2
commit ab5a49c49d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

26
.github/workflows/codeql-analysis.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: "CodeQL"
on:
schedule:
- cron: "0 0 1 * *"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: 'javascript'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2