1
0
Fork 0
mirror of https://github.com/imjasonh/govulncheck-action synced 2026-07-08 00:35:45 +00:00
govulncheck-action/.github/workflows/malcontent.yaml
dependabot[bot] 9178c65334
chore(deps): bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [step-security/harden-runner](https://github.com/step-security/harden-runner) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `step-security/harden-runner` from 2.14.2 to 2.15.0
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](5ef0c079ce...a90bcbc653)

Updates `github/codeql-action` from 4.32.4 to 4.32.5
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](89a39a4e59...c793b717bc)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: 4.32.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 23:03:34 +00:00

42 lines
1.3 KiB
YAML

name: Malcontent Analysis
on:
pull_request:
branches:
- main
permissions: {}
jobs:
malcontent:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # v5.0.1
with:
fetch-depth: 0 # Fetch all history for proper diff analysis
- name: Run Malcontent Analysis
id: malcontent
uses: chainguard-dev/malcontent-action@053384afe0bb069ba7e2996bd8c0863731406002 # v0.4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# NB: Could also set `fail-on-increase: false` and use `if: ${{steps.malcontent.outputs.risk-delta > 5}}` to allow some risk increase
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@c793b717bc78562f491db7b0e93a3a178b099162 #v3.29.0 - 11 Jun 2025
if: always() # Upload even if the malcontent check fails
with:
sarif_file: ${{ steps.malcontent.outputs.sarif-file }}
category: malcontent