Files
lazyjournal/.github/workflows/sast-codeql.yml
dependabot[bot] 927fa5708b Bump the go-dependencies group with 3 updates
Bumps the go-dependencies group with 3 updates: [actions/ai-inference](https://github.com/actions/ai-inference), [github/codeql-action](https://github.com/github/codeql-action) and [snyk/actions/setup](https://github.com/snyk/actions).


Updates `actions/ai-inference` from 2.1.1 to 3
- [Release notes](https://github.com/actions/ai-inference/releases)
- [Commits](https://github.com/actions/ai-inference/compare/v2.1.1...v3)

Updates `github/codeql-action` from 4.37.3 to 4.39.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v4.37.3...v4.39.1)

Updates `snyk/actions/setup` from 8e119fbb6c251787721d34ba683ed48eba792766 to 11b673cfb4b0dc0d860a1323caa199d54950dcce
- [Release notes](https://github.com/snyk/actions/releases)
- [Commits](https://github.com/snyk/actions/compare/8e119fbb6c251787721d34ba683ed48eba792766...11b673cfb4b0dc0d860a1323caa199d54950dcce)

---
updated-dependencies:
- dependency-name: actions/ai-inference
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: go-dependencies
- dependency-name: github/codeql-action
  dependency-version: 4.39.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: snyk/actions/setup
  dependency-version: 11b673cfb4b0dc0d860a1323caa199d54950dcce
  dependency-type: direct:production
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-01 19:29:26 +00:00

53 lines
1.3 KiB
YAML

name: "[SAST] CodeQL"
on:
# push:
# branches: ["main"]
# pull_request:
# branches: ["main"]
workflow_dispatch:
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: go
build-mode: autobuild
steps:
- uses: actions/checkout@v7
- name: Initialize CodeQL
uses: github/codeql-action/init@v4.39.1
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: Run manual build steps
if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4.39.1
with:
category: "/language:${{matrix.language}}"