Skip to content

Commit 227df4d

Browse files
authored
TINY-9428: Code Scanning (#35)
* TINY-9428: added codeql * TINY-9428: updated branch patterns * TINY-9428: forced update of dev dependencies
1 parent 5e8bc60 commit 227df4d

File tree

3 files changed

+52
-15
lines changed

3 files changed

+52
-15
lines changed

.github/workflows/codeql.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: [ "release/**", "develop", "main" ]
6+
pull_request:
7+
branches: [ "release/**", "develop", "main" ]
8+
## Add schedule if needed
9+
# schedule:
10+
# - cron: "* * * * 0"
11+
12+
jobs:
13+
analyze:
14+
name: Analyze
15+
runs-on: ubuntu-latest
16+
permissions:
17+
actions: read
18+
contents: read
19+
security-events: write
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
language: [ javascript ]
25+
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v3
29+
30+
- name: Initialize CodeQL
31+
uses: github/codeql-action/init@v2
32+
with:
33+
languages: ${{ matrix.language }}
34+
queries: +security-and-quality
35+
36+
- name: Autobuild
37+
uses: github/codeql-action/autobuild@v2
38+
39+
- name: Perform CodeQL Analysis
40+
uses: github/codeql-action/analyze@v2
41+
with:
42+
category: "/language:${{ matrix.language }}"

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,10 @@
5555
"test": "gulp test",
5656
"watch": "gulp watch"
5757
},
58-
"license": "Apache-2.0"
58+
"license": "Apache-2.0",
59+
"resolutions": {
60+
"source-map": "^0.7.4",
61+
"vinyl": "^2.2.0",
62+
"vinyl-fs": "^3.0.3"
63+
}
5964
}

yarn.lock

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4894,20 +4894,10 @@ source-map-url@^0.4.0:
48944894
resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.1.tgz#0af66605a745a5a2f91cf1bbf8a7afbc283dec56"
48954895
integrity sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==
48964896

4897-
source-map@^0.5.6:
4898-
version "0.5.7"
4899-
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
4900-
integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==
4901-
4902-
source-map@^0.6.0:
4903-
version "0.6.1"
4904-
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
4905-
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
4906-
4907-
source-map@^0.7.3:
4908-
version "0.7.3"
4909-
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
4910-
integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==
4897+
source-map@^0.5.6, source-map@^0.6.0, source-map@^0.7.3, source-map@^0.7.4:
4898+
version "0.7.4"
4899+
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656"
4900+
integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==
49114901

49124902
sparkles@^1.0.0:
49134903
version "1.0.1"

0 commit comments

Comments
 (0)