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-08-14 18:39:11 +00:00
|
|
|
uses: github/codeql-action/init@v3.26.2
|
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-07-10 15:03:51 +00:00
|
|
|
uses: actions/setup-python@v5.1.1
|
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-08-14 18:39:11 +00:00
|
|
|
uses: github/codeql-action/autobuild@v3.26.2
|
2021-05-14 15:18:54 +00:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2024-08-14 18:39:11 +00:00
|
|
|
uses: github/codeql-action/analyze@v3.26.2
|