Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves: Add continuous code security and quality analysis #946

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
572fbc8
Add CodeQL pipeline (#2)
aleks-ivanov May 25, 2021
b4751cb
Merge branch 'main' into feature/codeql
aleks-ivanov Jun 7, 2021
a6aa05b
Merge branch 'main' into feature/codeql
aleks-ivanov Jun 13, 2021
83f14f1
Merge branch 'main' into feature/codeql
aleks-ivanov Jun 14, 2021
76999c0
Merge branch 'main' into feature/codeql
aleks-ivanov Jan 22, 2022
3fd79db
Merge branch 'main' into feature/codeql
aleks-ivanov Jan 28, 2022
a88fca2
Merge branch 'main' into feature/codeql
aleks-ivanov Feb 1, 2022
319e6c7
Merge branch 'main' into feature/codeql
aleks-ivanov Feb 2, 2022
f9f6401
Merge branch 'main' into feature/codeql
aleks-ivanov Feb 4, 2022
7a550a2
Merge branch 'main' into feature/codeql
aleks-ivanov Feb 15, 2022
29301bf
Merge branch 'main' into feature/codeql
aleks-ivanov Apr 15, 2022
b678c58
Merge branch 'main' into feature/codeql
aleks-ivanov Apr 22, 2022
54b3acb
Merge branch 'main' into feature/codeql
aleks-ivanov May 3, 2022
22a534d
Merge branch 'main' into feature/codeql
aleks-ivanov May 7, 2022
4e34b66
Merge branch 'main' into feature/codeql
aleks-ivanov May 20, 2022
b56a64e
Merge branch 'main' into feature/codeql
aleks-ivanov May 25, 2022
e997e0a
Merge branch 'main' into feature/codeql
aleks-ivanov Oct 25, 2022
46242a3
Merge branch 'main' into feature/codeql
aleks-ivanov Nov 2, 2022
69bec65
Merge branch 'main' into feature/codeql
aleks-ivanov Jan 7, 2023
e91b6de
Merge branch 'main' into feature/codeql
aleks-ivanov Feb 1, 2023
0bb2aa8
Merge branch 'main' into feature/codeql
aleks-ivanov Mar 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CodeQL Analysis

on:
push:
paths:
- 'src/csharp/**'
pull_request:
paths:
- 'src/csharp/**'
schedule:
- cron: '0 8 * * *'
workflow_dispatch:

jobs:
analyze:
name: CodeQL Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout repository
id: checkout_repo
uses: actions/checkout@v2

- name: Initialize CodeQL
id: init_codeql
uses: github/codeql-action/init@v1
with:
queries: security-and-quality

- name: Build projects
id: build_projects
shell: pwsh
run: |
Get-ChildItem -Path src/csharp/ -Filter *.csproj -Exclude *test* -Recurse -File | ForEach-Object {
dotnet build $PSItem.FullName `
--configuration Release
}

- name: Perform CodeQL Analysis
id: analyze_codeql
uses: github/codeql-action/analyze@v1

# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)