chore: revert changes introduced by allowing stopping services in sta… #1098
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: Vulnerability scanning | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
scan: | |
name: Scan for known vulnerabilities | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Run Github Trivy FS Action | |
uses: aquasecurity/trivy-action@master | |
with: | |
scan-type: 'fs' | |
scan-ref: '.' | |
trivy-config: .github/trivy.yaml | |
env: | |
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db | |
# TODO: Remove the whole "env" section when the issue below is resolved. | |
# Known issue: aquasecurity/trivy-action#389. | |
# Workaround: https://github.com/orgs/community/discussions/139074#discussioncomment-10808081. |