mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 14:20:18 +00:00
5bf35dc687
Signed-off-by: Jauder Ho <jauderho@users.noreply.github.com> Co-authored-by: Adam Warner <me@adamwarner.co.uk>
40 lines
739 B
YAML
40 lines
739 B
YAML
name: "CodeQL"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- development
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- development
|
|
schedule:
|
|
- cron: '32 11 * * 6'
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
steps:
|
|
-
|
|
name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
# Initializes the CodeQL tools for scanning.
|
|
-
|
|
name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v1
|
|
with:
|
|
languages: 'python'
|
|
-
|
|
name: Autobuild
|
|
uses: github/codeql-action/autobuild@v1
|
|
-
|
|
name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v1
|