Skip to content

Commit

Permalink
enable workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinvoicu committed Feb 29, 2024
1 parent 599bb41 commit 7aaae84
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/secops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ on:
description: image:tag
required: true
type: string

workflow_dispatch:
inputs:
image_tag:
description: image:tag
required: true
default: "ghcr.io/boehringer-ingelheim/r_4.3.2_cran_2024.01.12:2024.02.29"
type: string
jobs:
sec_ops:
name: SecOps
Expand All @@ -25,8 +31,8 @@ jobs:
R -q -e '
rbind(c("|-", "-|"),
installed.packages()[, c("Package", "Version")]) |>
write.table(file = "/r-pkg-list.csv", row.names = FALSE, quote = FALSE, sep="|")'
cat /r-pkg-list.csv >> $GITHUB_STEP_SUMMARY
write.table(file = "/app/r-pkg-list.csv", row.names = FALSE, quote = FALSE, sep="|")'
cat /app/r-pkg-list.csv >> $GITHUB_STEP_SUMMARY
- name: Run Trivy vulnerability scanner ☢️
uses: aquasecurity/trivy-action@master
Expand Down

0 comments on commit 7aaae84

Please sign in to comment.