Skip to content

Commit

Permalink
ci: add trivy-action-test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Oct 3, 2024
1 parent 5ae1a56 commit 9f019ca
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/trivy-action-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build
on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@0.24.0
with:
scan-type: 'fs'
scan-ref: '.'
Empty file.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Flask==2.3.1

0 comments on commit 9f019ca

Please sign in to comment.