2020-07-08 12:25:53 +02:00
|
|
|
name: "Code scanning - action"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-08-16 15:40:57 +02:00
|
|
|
branches:
|
|
|
|
- develop
|
|
|
|
- master
|
|
|
|
- release/*
|
2020-07-08 12:25:53 +02:00
|
|
|
pull_request:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 19 * * 1'
|
2022-03-06 13:54:00 +01:00
|
|
|
workflow_dispatch:
|
2023-03-13 12:14:35 +01:00
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
2020-07-08 12:25:53 +02:00
|
|
|
|
2022-07-28 21:51:32 +02:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-07-08 12:25:53 +02:00
|
|
|
jobs:
|
|
|
|
CodeQL-Build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
2023-03-13 12:14:35 +01:00
|
|
|
permissions:
|
|
|
|
security-events: write
|
2020-07-08 12:25:53 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2022-04-06 15:14:14 +02:00
|
|
|
uses: actions/checkout@v3
|
2020-07-08 12:25:53 +02:00
|
|
|
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
|
|
- name: Initialize CodeQL
|
2022-04-06 15:14:14 +02:00
|
|
|
uses: github/codeql-action/init@v2
|
2020-07-08 12:25:53 +02:00
|
|
|
|
|
|
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
|
|
# If this step fails, then you should remove it and run the build manually (see below)
|
|
|
|
- name: Autobuild
|
2022-04-06 15:14:14 +02:00
|
|
|
uses: github/codeql-action/autobuild@v2
|
2020-07-08 12:25:53 +02:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2022-04-06 15:14:14 +02:00
|
|
|
uses: github/codeql-action/analyze@v2
|