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

Add options for labels #231

Open simonhyll opened 1 year ago

simonhyll commented 1 year ago

Do the checklist before filing an issue:

Motivation

When this action creates an issue it would be great if you could specify which labels it should add to that issue. I would personally use it to apply an "automated" label to it so I can filter it out from project boards.

In addition to manually specifying labels I would like labels for the severity. E.g. severity-unmaintained and severity-critical. This could be toggled on/off with a severityLabels bool option. It would also be nice to be able to edit those severity labels.

Workflow example

      - uses: rustsec/audit-check@v1.4.1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          labels: ["automated", "audit"]
          severityLabels: true