mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-13 21:56:11 +00:00
38 lines
821 B
YAML
38 lines
821 B
YAML
name: CodeQL Analysis
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
schedule:
|
|
- cron: '38 8 * * 6'
|
|
|
|
jobs:
|
|
analyze:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'jellyfin/jellyfin-kodi' }}
|
|
strategy:
|
|
fail-fast: false
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4.1.1
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v3.24.0
|
|
with:
|
|
languages: 'python'
|
|
queries: +security-and-quality
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5.0.0
|
|
with:
|
|
python-version: 3.9
|
|
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v3.24.0
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v3.24.0
|