Skip to content

Commit 4059638

Browse files
committed
Update CodeQL GitHub workflow
This updates the workflow to be consistent with the newly setup workflow in PowerShellEditorServices, which is much simpler.
1 parent 3017d66 commit 4059638

File tree

2 files changed

+42
-61
lines changed

2 files changed

+42
-61
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
tags: [ v* ]
7+
pull_request:
8+
# The branches below must be a subset of the branches above
9+
branches: [ master ]
10+
paths-ignore: [ '**/*.md' ]
11+
schedule:
12+
- cron: '00 14 * * *' # Every morning at 7:00am PDT
13+
14+
jobs:
15+
analyze:
16+
name: Analyze
17+
runs-on: ubuntu-latest
18+
permissions:
19+
actions: read
20+
contents: read
21+
security-events: write
22+
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
language: [ 'javascript' ]
27+
28+
steps:
29+
- name: Checkout repository
30+
uses: actions/checkout@v2
31+
32+
# Initializes the CodeQL tools for scanning.
33+
- name: Initialize CodeQL
34+
uses: github/codeql-action/init@v1
35+
with:
36+
languages: ${{ matrix.language }}
37+
38+
- name: Autobuild
39+
uses: github/codeql-action/autobuild@v1
40+
41+
- name: Perform CodeQL Analysis
42+
uses: github/codeql-action/analyze@v1

.github/workflows/codeql.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)