Skip to content

Commit 13f403d

Browse files
committed
Update workflows
1 parent 64612d1 commit 13f403d

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
time: "13:00"
8+
open-pull-requests-limit: 10
9+
versioning-strategy: increase
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'src/**/*' # Trigger only when files in src folder are changed
8+
pull_request:
9+
branches: [ master ]
10+
paths:
11+
- 'src/**/*' # Trigger only when files in src folder are changed
12+
schedule:
13+
- cron: '0 14 * * 0' # Schedule a weekly run
14+
15+
jobs:
16+
analyze:
17+
name: Analyze
18+
runs-on: ubuntu-latest
19+
permissions:
20+
actions: read
21+
contents: read
22+
security-events: write
23+
24+
steps:
25+
- name: Checkout repository
26+
uses: actions/checkout@v2
27+
28+
- name: Initialize CodeQL
29+
uses: github/codeql-action/init@v3
30+
with:
31+
languages: typescript
32+
33+
- name: Perform CodeQL Analysis
34+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)