Skip to content

Commit

Permalink
Add CodeQL CI Job (home-assistant#102273)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Oct 19, 2023
1 parent ae62999 commit 4b39d34
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "CodeQL"

# yamllint disable-line rule:truthy
on:
push:
branches:
- dev
- rc
- master
pull_request:
branches:
- dev
schedule:
- cron: "30 18 * * 4"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Check out code from GitHub
uses: actions/[email protected]

- name: Initialize CodeQL
uses: github/codeql-action/[email protected]
with:
languages: python

- name: Perform CodeQL Analysis
uses: github/codeql-action/[email protected]
with:
category: "/language:python"

0 comments on commit 4b39d34

Please sign in to comment.