Skip to content

Commit

Permalink
PTFE-694: codeql workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Abubakarr99 committed Aug 1, 2023
1 parent d9a3a09 commit 649cd27
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---

Check failure on line 1 in .github/workflows/codeql.yaml

View workflow job for this annotation

GitHub Actions / Trunk Check

checkov(CKV2_GHA_1)

[new] Ensure top-level permissions are not set to write-all

Check failure on line 1 in .github/workflows/codeql.yaml

View workflow job for this annotation

GitHub Actions / Trunk Check

prettier

Incorrect formatting, autoformat by running 'trunk fmt'
name: codeQL

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: {}

jobs:
analyze:
name: Static analysis with CodeQL
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python

- name: Build and analyze
uses: github/codeql-action/analyze@v2

0 comments on commit 649cd27

Please sign in to comment.