Skip to content

Commit

Permalink
Try again.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Jul 24, 2024
1 parent 27213dd commit 8986acf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/nightly-vuln-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Run Trivy vulnerability scanner
id: scanner
uses: aquasecurity/[email protected]
with:
image-ref: 'ghcr.io/pulibrary/dpul-collections:main'
Expand All @@ -31,15 +30,15 @@ jobs:
severity: 'CRITICAL,HIGH'
output: 'vulnerabilities.table'
- name: Set variables
run: |
VULN=$(cat vulnerabilities.table)
echo "SCANNER_OUTPUT=$VULN" >> $GITHUB_ENV
id: scanner
run: echo "results=$(cat vulnerabilities.table)" >> $GITHUB_OUTPUT
- name: Create issue
if: failure()
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WORKFLOW_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
SCANNER_OUTPUTS: ${{ steps.scanner.outputs.results }}
with:
filename: .github/failed-vuln-check.md
update_existing: true

0 comments on commit 8986acf

Please sign in to comment.