From a8ba98012fac9971380855ef0e346f7423665c57 Mon Sep 17 00:00:00 2001 From: tkmxqrdxddd Date: Sat, 19 Oct 2024 10:18:41 +0200 Subject: [PATCH] added codeql --- .github/workflows/codeql.yml | 30 ++++++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..f2ce327 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,30 @@ +name: CodeQL + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up CodeQL + uses: github/codeql-action/setup@v2 + with: + languages: cpp + + - name: Auto-detect CodeQL packs + uses: github/codeql-action/autodetect@v2 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "security" + diff --git a/.gitignore b/.gitignore index afbb367..8e2abce 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ *.app /output /.qtcreator +/.docker \ No newline at end of file