Files
Umbraco-CMS/.github/workflows/codeql-analysis.yml
Bjarke Berg 74c45ee60d Merge remote-tracking branch 'origin/v10/dev' into v11/dev
# Conflicts:
#	src/Umbraco.Core/DependencyInjection/UmbracoBuilder.Configuration.cs
#	src/Umbraco.Core/Models/Mapping/DictionaryMapDefinition.cs
#	src/Umbraco.Web.BackOffice/Install/InstallApiController.cs
#	version.json
2022-09-12 16:47:20 +02:00

42 lines
927 B
YAML

name: "Code scanning - action"
on:
push:
branches: ['*/dev','*/contrib']
pull_request:
# The branches below must be a subset of the branches above
branches: ['*/dev','*/contrib']
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
config-file: ./.github/config/codeql-config.yml
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: '7.x'
include-prerelease: true
- name: dotnet build
run: dotnet build umbraco.sln -c SkipTests
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2