Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #33 from Typiqally/feature/code-analysis-workflow
Browse files Browse the repository at this point in the history
Create code analysis workflow
  • Loading branch information
NealGeilen authored Jun 29, 2022
2 parents d80e190 + c8fb8ac commit 51dd789
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Code analysis"

on:
push:
branches: [ "master", develop ]
pull_request:
branches: [ "master" ]
schedule:
- cron: '22 18 * * 5'

jobs:
analyze:
name: Analyze code
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: security-extended,security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 51dd789

Please sign in to comment.