feat(errors): add StringPtr function to ErrorDetailCode #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: grype-errors | |
on: | |
push: | |
branches: [ main ] | |
paths: [ errors/** ] | |
jobs: | |
scan-source: | |
name: Scan source code | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
actions: read | |
contents: read | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: anchore/scan-action@v3 | |
id: scan | |
with: | |
path: errors | |
fail-build: true | |
acs-report-enable: true | |
severity-cutoff: medium | |
- name: upload Anchore scan SARIF report | |
if: success() || failure() | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: ${{ steps.scan.outputs.sarif }} |