82cabf7fc0
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
name: "CodeQL"
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
paths-ignore:
|
|
- '**/README.md'
|
|
- '.github/ISSUE_TEMPLATE/**'
|
|
- 'docs/**'
|
|
- 'images/**'
|
|
- 'manifest.json'
|
|
pull_request:
|
|
branches: [ master ]
|
|
paths-ignore:
|
|
- '**/README.md'
|
|
- '.github/ISSUE_TEMPLATE/**'
|
|
- 'docs/**'
|
|
- 'images/**'
|
|
- 'manifest.json'
|
|
|
|
permissions: write-all
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: [ 'csharp' ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: 8.0.x
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
dotnet nuget add source --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name jellyfin-pre "https://nuget.pkg.github.com/jellyfin/index.json"
|
|
dotnet tool install --global dotnet-outdated-tool
|
|
dotnet outdated -pre Always -u -inc Jellyfin
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
queries: +security-extended
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
|