Skip to content

Commit

Permalink
[291] Added summary as input to workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Sep 3, 2024
1 parent 9f4b128 commit 89aa4b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/vulnerability-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ env:
REGISTRY: ghcr.io
on:
workflow_dispatch:
inputs:
summary:
description: 'Summary of the scheduled scan.'
required: false
default: 'Trivy CVE scan of published images for ${{ github.ref_name}}'
jobs:
setup-matrix:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -32,6 +37,8 @@ jobs:
strategy:
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
steps:
- name: Set summary
run: echo "summary=${{ github.event.inputs.summary }}" >> $GITHUB_STEP_SUMMARY
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.ref }}
Expand Down

0 comments on commit 89aa4b5

Please sign in to comment.