Skip to content

Commit

Permalink
CI: Disable CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
BornToBeRoot authored Feb 6, 2024
1 parent af47a00 commit 15b6727
Showing 1 changed file with 47 additions and 46 deletions.
93 changes: 47 additions & 46 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,47 @@
name: "CodeQL"

on:
#push:
# branches: [ main ]
#pull_request:
# branches: [ main ]
schedule:
- cron: '29 7 * * 1'

jobs:
analyze:
name: Analyze
runs-on: windows-2022
permissions:
actions: read
contents: read
security-events: write
# Ignore dependabot, ImgBot and transifex-integration
#if: github.actor!= 'dependabot[bot]' &&
# github.actor!= 'imgbot[bot]' &&
# github.actor!= 'transifex-integration[bot]'

strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: 'true'

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
#name: "CodeQL"
#
#on:
# #push:
# # branches: [ main ]
# #pull_request:
# # branches: [ main ]
# schedule:
# - cron: '29 7 * * 1'
#
#jobs:
# analyze:
# name: Analyze
# runs-on: windows-2022
# permissions:
# actions: read
# contents: read
# security-events: write
# # Ignore dependabot, ImgBot and transifex-integration
# #if: github.actor!= 'dependabot[bot]' &&
# # github.actor!= 'imgbot[bot]' &&
# # github.actor!= 'transifex-integration[bot]'
#
# strategy:
# fail-fast: false
# matrix:
# language: [ 'csharp' ]
#
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# with:
# submodules: 'true'
#
# - name: Initialize CodeQL
# uses: github/codeql-action/init@v2
# with:
# languages: ${{ matrix.language }}
#
# - name: Autobuild
# uses: github/codeql-action/autobuild@v2
#
# - name: Perform CodeQL Analysis
# uses: github/codeql-action/analyze@v2
# with:
# category: "/language:${{matrix.language}}"
#

0 comments on commit 15b6727

Please sign in to comment.