forked from PaloAltoNetworks/docusaurus-openapi-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 820 Bytes
/
codeql-analysis.yml
File metadata and controls
33 lines (27 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: "CodeQL"
on:
push:
branches: [main]
schedule:
- cron: "0 6 * * 1" # weekly Monday 6am UTC
jobs:
analyze:
if: github.repository_owner == 'PaloAltoNetworks'
name: Analyze
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
strategy:
matrix:
language: ["javascript"]
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Initialize CodeQL
uses: github/codeql-action/init@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3 # v3
with:
languages: ${{ matrix.language }}
queries: security-extended
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3 # v3