Skip to content

Merge pull request #15 from intro-skipper/capy/ci-reduce-release-polling #47

Merge pull request #15 from intro-skipper/capy/ci-reduce-release-polling

Merge pull request #15 from intro-skipper/capy/ci-reduce-release-polling #47

Workflow file for this run

name: "CodeQL"
on:
push:
branches:
- "*"
paths-ignore:
- "**/README.md"
- "docs/**"
- "images/**"
pull_request:
types:
- ready_for_review
schedule:
- cron: "24 2 * * 4"
workflow_dispatch:
permissions: write-all
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: ${{ github.event.repository.private == false }}
strategy:
fail-fast: false
matrix:
language: ["csharp"]
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 9.0.x
- name: Ensure dist placeholders exist
run: |
mkdir -p ./SegmentEditorPlugin/dist/assets
if [ ! -f ./SegmentEditorPlugin/dist/index.html ]; then
printf '<!doctype html><title>Segment Editor</title>' > ./SegmentEditorPlugin/dist/index.html
fi
if [ ! -f ./SegmentEditorPlugin/dist/favicon.png ]; then
: > ./SegmentEditorPlugin/dist/favicon.png
fi
- name: Restore dependencies
run: dotnet restore SegmentEditorPlugin.sln
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
queries: +security-extended
- name: Build
run: dotnet build SegmentEditorPlugin.sln --configuration Release --no-restore
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v4