Files
python-kasa/.github/workflows/codeql-analysis.yml
ZeliardM 494db73fa8 Update GitHub Workflows and Actions (#1622)
This PR is to update the GitHub Workflows and Actions to resolve
residual warnings and errors and using the latest versions available.
2026-02-21 22:09:57 +01:00

51 lines
949 B
YAML

---
name: CodeQL Checks
on:
push:
branches:
- master
- patch
pull_request:
branches:
- master
- patch
- 'feat/**'
- 'fix/**'
- 'janitor/**'
schedule:
- cron: '44 17 * * 3'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [python]
steps:
- name: Checkout Source Files
id: checkout
uses: actions/checkout@v6
- name: Initialize CodeQL
id: init-codeql
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
id: perform-codeql-analysis
uses: github/codeql-action/analyze@v4