forked from carbon-design-system/carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 901 Bytes
/
codeql-analysis.yml
File metadata and controls
35 lines (29 loc) · 901 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
name: 'codeql'
on:
push:
branches: [main, v10]
pull_request:
branches: [main, v10]
merge_group:
types: [checks_requested]
schedule:
- cron: '0 12 * * 1'
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
with:
languages: javascript-typescript
config: |
paths-ignore:
- 'packages/cli/src/component/templates/**'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3