mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-10 15:04:51 -04:00
Create codeql-analysis GitHub Action (#1812)
This commit is contained in:
parent
63b3e082e2
commit
ab5a49c49d
26
.github/workflows/codeql-analysis.yml
vendored
Normal file
26
.github/workflows/codeql-analysis.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user