actions-rs / audit-check

🛡️ GitHub Action for security audits
https://github.com/marketplace/actions/rust-audit-check
MIT License
170 stars 39 forks source link

Report formatting #233

Open NickLarsenNZ opened 1 year ago

NickLarsenNZ commented 1 year ago

Do the checklist before filing an issue:

Description

Codeblocks in the security report show " instead of "

Workflow code

name: Security audit

on:
  workflow_dispatch:
  schedule:
    - cron: '0 0 * * *'
  push:
    branches: [main]
    paths:
      - '**/Cargo.toml'
      - '**/Cargo.lock'
  pull_request:
    paths:
      - '**/Cargo.toml'
      - '**/Cargo.lock'

jobs:
  audit:
    runs-on: ubuntu-latest
    permissions:
      checks: write
      contents: read
      issues: write
      pull-requests: read
    steps:
      - uses: actions/checkout@v3
      - uses: actions-rs/audit-check@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
chrono = { version = "0.4.24", features = ["serde"] } # triggers a security warning (at the time of writing)

Action output

The code blocks look like this:

image

Expected behavior

The code blocks should look like:

chrono = { version = "0.4", default-features = false, features = ["serde"] }

Additional context