Ensure all UMB_ constants is exported #15278
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Code scanning - action" | |
on: | |
push: | |
branches: | |
- "*/dev" | |
- "*/contrib" | |
- "contrib" | |
- "release/*" | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: | |
- "*/dev" | |
- "*/contrib" | |
- "contrib" | |
- "release/*" | |
schedule: | |
- cron: "33 2 * * 1" | |
permissions: | |
contents: read | |
env: | |
dotnetVersion: 9.x | |
dotnetIncludePreviewVersions: "preview" | |
solution: umbraco.sln | |
buildConfiguration: SkipTests | |
DOTNET_NOLOGO: true | |
DOTNET_GENERATE_ASPNET_CERTIFICATE: false | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
NODE_OPTIONS: --max_old_space_size=16384 | |
jobs: | |
CodeQL-Build: | |
name: Analyze (${{ matrix.language }}) | |
permissions: | |
actions: read # for github/codeql-action/init to get workflow details | |
contents: read # for actions/checkout to fetch code | |
security-events: write # for github/codeql-action/analyze to upload SARIF results | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- language: csharp | |
build-mode: none | |
- language: javascript-typescript | |
build-mode: none | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# We use the setup-dotnet action to set up .NET Core, otherwise the CodeQL CLI will not work with preview versions. | |
- name: Setup .NET from global.json | |
uses: actions/setup-dotnet@v4 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
build-mode: ${{ matrix.build-mode }} | |
config-file: ./.github/config/codeql-config.yml | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{matrix.language}}" |