2021-05-14 15:18:54 +00:00
|
|
|
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
|
2024-10-23 16:11:50 +00:00
|
|
|
uses: actions/checkout@v4.2.2
|
2021-05-14 15:18:54 +00:00
|
|
|
|
|
|
|
- name: Initialize CodeQL
|
2024-11-14 16:07:04 +00:00
|
|
|
uses: github/codeql-action/init@v3.27.4
|
2021-05-14 15:18:54 +00:00
|
|
|
with:
|
2024-02-05 17:38:01 +00:00
|
|
|
languages: 'python'
|
2021-05-14 15:18:54 +00:00
|
|
|
queries: +security-and-quality
|
|
|
|
|
2024-02-05 17:38:01 +00:00
|
|
|
- name: Set up Python
|
2024-10-24 17:02:51 +00:00
|
|
|
uses: actions/setup-python@v5.3.0
|
2021-05-14 15:18:54 +00:00
|
|
|
with:
|
2024-02-05 17:38:01 +00:00
|
|
|
python-version: 3.9
|
2021-05-14 15:18:54 +00:00
|
|
|
|
|
|
|
- name: Autobuild
|
2024-11-14 16:07:04 +00:00
|
|
|
uses: github/codeql-action/autobuild@v3.27.4
|
2021-05-14 15:18:54 +00:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2024-11-14 16:07:04 +00:00
|
|
|
uses: github/codeql-action/analyze@v3.27.4
|