mirror of https://github.com/telemt/telemt.git
Remove CodeQL workflow and config
Code scanning is not enabled for this repository, removing unused workflow. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2e52bade70
commit
46b3b208ad
|
|
@ -1,19 +0,0 @@
|
||||||
name: "Rust without tests"
|
|
||||||
|
|
||||||
disable-default-queries: false
|
|
||||||
|
|
||||||
queries:
|
|
||||||
- uses: security-extended
|
|
||||||
- uses: security-and-quality
|
|
||||||
- uses: ./.github/codeql/queries
|
|
||||||
|
|
||||||
query-filters:
|
|
||||||
- exclude:
|
|
||||||
id:
|
|
||||||
- rust/unwrap-on-option
|
|
||||||
- rust/unwrap-on-result
|
|
||||||
- rust/expect-used
|
|
||||||
|
|
||||||
analysis:
|
|
||||||
dataflow:
|
|
||||||
default-precision: high
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
import rust
|
|
||||||
|
|
||||||
predicate isTestOnly(Item i) {
|
|
||||||
exists(ConditionalCompilation cc |
|
|
||||||
cc.getItem() = i and
|
|
||||||
cc.getCfg().toString() = "test"
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
predicate hasTestAttribute(Item i) {
|
|
||||||
exists(Attribute a |
|
|
||||||
a.getItem() = i and
|
|
||||||
a.getName() = "test"
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
predicate isProductionCode(Item i) {
|
|
||||||
not isTestOnly(i) and
|
|
||||||
not hasTestAttribute(i)
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
name: rust-production-only
|
|
||||||
version: 0.0.1
|
|
||||||
dependencies:
|
|
||||||
codeql/rust-all: "*"
|
|
||||||
|
|
@ -1,45 +0,0 @@
|
||||||
name: "CodeQL Advanced"
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "*" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "*" ]
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * 0'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
analyze:
|
|
||||||
name: Analyze (${{ matrix.language }})
|
|
||||||
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
security-events: write
|
|
||||||
packages: read
|
|
||||||
actions: read
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- language: actions
|
|
||||||
build-mode: none
|
|
||||||
- language: rust
|
|
||||||
build-mode: none
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
|
||||||
uses: github/codeql-action/init@v4
|
|
||||||
with:
|
|
||||||
languages: ${{ matrix.language }}
|
|
||||||
build-mode: ${{ matrix.build-mode }}
|
|
||||||
config-file: .github/codeql/codeql-config.yml
|
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
|
||||||
uses: github/codeql-action/analyze@v4
|
|
||||||
with:
|
|
||||||
category: "/language:${{ matrix.language }}"
|
|
||||||
Loading…
Reference in New Issue