Skip to content

Commit

Permalink
Merge branch 'fix-codeql-shim' of github.com:zarf-dev/zarf into fix-c…
Browse files Browse the repository at this point in the history
…odeql-shim
  • Loading branch information
AustinAbro321 committed Aug 30, 2024
2 parents 5a69e4d + b5809aa commit 56cd519
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/scan-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,13 @@ on:
- cron: "32 2 * * 5"

jobs:
codeql-scan:
go-codeql-scan:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ["go"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -45,7 +38,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
with:
languages: ${{ matrix.language }}
languages: go
config-file: ./.github/codeql.yaml

- name: Build
Expand All @@ -54,4 +47,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
with:
category: "/language:${{matrix.language}}"
category: "/language:go"
2 changes: 1 addition & 1 deletion .github/workflows/test-shim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
run: |
echo skipped
codeql-scan:
go-codeql-scan:
runs-on: ubuntu-latest
steps:
- name: Skipped
Expand Down

0 comments on commit 56cd519

Please sign in to comment.