mirror of
https://github.com/Lifailon/lazyjournal.git
synced 2026-11-11 01:09:46 +01:00
927fa5708b
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>
44 lines
925 B
YAML
44 lines
925 B
YAML
name: "[SAST] Semgrep"
|
|
|
|
on:
|
|
# push:
|
|
# branches: ["main"]
|
|
# pull_request:
|
|
# branches: ["main"]
|
|
workflow_dispatch:
|
|
inputs:
|
|
Upload:
|
|
description: 'Upload SARIF results file'
|
|
default: true
|
|
type: boolean
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
semgrep:
|
|
name: semgrep/ci
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
contents: read
|
|
security-events: write
|
|
actions: read
|
|
|
|
# A Docker image with semgrep installed
|
|
container:
|
|
image: semgrep/semgrep
|
|
|
|
# Skip any PR created by dependabot
|
|
if: (github.actor != 'dependabot[bot]')
|
|
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- run: semgrep scan --config auto --sarif --output=semgrep.sarif
|
|
|
|
- name: Upload SARIF results file
|
|
if: ${{ github.event.inputs.Upload == 'true' }}
|
|
uses: github/codeql-action/upload-sarif@v4.39.1
|
|
with:
|
|
sarif_file: semgrep.sarif |