Skip to content

Commit 011afcd

Browse files
committed
chore: upgrade security scanning
1 parent af36e6e commit 011afcd

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/security-analysis.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
name: Code Security Testing
22

33
on:
4+
push:
5+
branches:
6+
- main
47
pull_request:
58
branches:
69
- main
7-
- release
810
schedule:
911
- cron: "0 20 * * 5"
1012

13+
permissions:
14+
security-events: write
15+
1116
concurrency:
1217
group: security-${{ github.ref }}
1318
cancel-in-progress: true
@@ -21,7 +26,7 @@ jobs:
2126
- uses: actions/checkout@v3
2227

2328
- name: Initialize CodeQL
24-
uses: github/codeql-action/init@v2
29+
uses: github/codeql-action/init@v3
2530
with:
2631
languages: csharp
2732

@@ -34,4 +39,4 @@ jobs:
3439
run: dotnet build --configuration Release
3540

3641
- name: Perform CodeQL Analysis
37-
uses: github/codeql-action/analyze@v2
42+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)