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-06-12 21:28:59 +00:00
|
|
|
uses: actions/checkout@v4.1.7
|
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-08-29 16:58:58 +00:00
|
|
|
uses: actions/setup-python@v5.2.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
|