Skip to content

Commit 320cdd8

Browse files
Merge pull request clean-css#59 from XhmikosR/codeql
Add CodeQL GitHub action.
2 parents 944f447 + 0e4a81c commit 320cdd8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/codeql.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- "!dependabot/**"
8+
pull_request:
9+
# The branches below must be a subset of the branches above
10+
branches:
11+
- master
12+
schedule:
13+
- cron: "0 2 * * 5"
14+
15+
jobs:
16+
analyze:
17+
name: Analyze
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v2
23+
24+
# Initializes the CodeQL tools for scanning.
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@v1
27+
with:
28+
languages: "javascript"
29+
30+
- name: Autobuild
31+
uses: github/codeql-action/autobuild@v1
32+
33+
- name: Perform CodeQL Analysis
34+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)