Skip to content

Commit ba687ae

Browse files
committed
chore(workflows): add CodeQL and dependabot
1 parent 319c405 commit ba687ae

2 files changed

Lines changed: 37 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
time: "08:00"
8+
timezone: "Europe/Moscow"
9+
open-pull-requests-limit: 10
10+
target-branch: "dependabot-update"
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'CodeQL'
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [master]
9+
schedule:
10+
- cron: '40 3 * * 5'
11+
12+
jobs:
13+
analyze:
14+
name: Analyze
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v2
20+
21+
- name: Initialize CodeQL
22+
uses: github/codeql-action/init@v1
23+
with:
24+
languages: typescript
25+
26+
- name: Perform CodeQL Analysis
27+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)