Skip to content

Commit

Permalink
codeQL workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Jan 27, 2024
1 parent ecdc63a commit 3461e93
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'

on:

Check warning on line 5 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / build

5:1 [truthy] truthy value should be one of [false, no, true, yes]
push:
branches: ['latest']
paths:
- '**.py'
- '.github/workflows/codeql.yml'
pull_request:
branches: ['latest']
paths:
- '**.py'
- '.github/workflows/codeql.yml'

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

steps:
- name: Checkout repository

Check failure on line 28 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / build

28:5 [indentation] wrong indentation: expected 6 but found 4
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: 'python'

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: '/language:python'

0 comments on commit 3461e93

Please sign in to comment.