ci: codeql disable autobuild for go (#1828)

This commit is contained in:
3u13r 2023-05-25 18:20:44 +02:00 committed by GitHub
parent 76bf5e8e28
commit 25211dc154
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
name: CodeQL name: CodeQL
on: on:
workflow_dispatch:
push: push:
branches: branches:
- main - main
@ -17,6 +18,10 @@ jobs:
codeql: codeql:
name: CodeQL name: CodeQL
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
env:
# Force CodeQL to run the extraction on the files compiled by our custom
# build command, as opposed to letting the autobuilder figure it out.
CODEQL_EXTRACTOR_GO_BUILD_TRACING: 'on'
permissions: permissions:
actions: read actions: read
contents: read contents: read
@ -56,7 +61,8 @@ jobs:
done done
echo "::endgroup::" echo "::endgroup::"
- name: Autobuild - name: Build
if: matrix.language == 'python'
uses: github/codeql-action/autobuild@29b1f65c5e92e24fe6b6647da1eaabe529cec70f # v2.3.3 uses: github/codeql-action/autobuild@29b1f65c5e92e24fe6b6647da1eaabe529cec70f # v2.3.3
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis