-
Notifications
You must be signed in to change notification settings - Fork 8
39 lines (31 loc) · 976 Bytes
/
CODE_SCANNING.yml
File metadata and controls
39 lines (31 loc) · 976 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
34
35
36
37
38
name: CODE_SCANNING
on:
workflow_dispatch:
# push:
# branches: [ main, develop ]
# pull_request:
# branches: [ main, develop ]
# paths-ignore:
# - '**/*.md'
jobs:
codeql_build:
name: Scan with CodeQL
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@820e3160e279568db735cee8ed8f8e77a6da7818 # v3
with:
languages: javascript
config: |
paths-ignore:
- '**/__tests__'
- '**/test'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@820e3160e279568db735cee8ed8f8e77a6da7818 # v3