Skip to content

Commit efe69c8

Browse files
committed
Enable DependaBot & CodeQL
1 parent 2326c77 commit efe69c8

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "nuget"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 10

.github/workflows/codeql.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CodeQL
2+
on:
3+
push: { branches: [ "main" ] }
4+
pull_request: { branches: [ "main" ] }
5+
schedule:
6+
- cron: "0 3 * * 1" # weekly
7+
8+
jobs:
9+
analyze:
10+
permissions:
11+
contents: read
12+
security-events: write
13+
actions: read
14+
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
language: [ "csharp" ]
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
24+
- name: Initialize CodeQL
25+
uses: github/codeql-action/init@v3
26+
with:
27+
languages: ${{ matrix.language }}
28+
29+
- name: Autobuild
30+
uses: github/codeql-action/autobuild@v3
31+
32+
- name: Perform CodeQL Analysis
33+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)