Move GitHub action filter to actual Trivy job

Formally, I was editing the wrong job that did not had any issues. Let's try again :)
This commit is contained in:
Sebastian Serth
2023-02-15 14:29:28 +01:00
parent a2f272ce3e
commit ddeb3760e7
2 changed files with 1 additions and 5 deletions

View File

@ -101,6 +101,7 @@ jobs:
dep-scan:
runs-on: ubuntu-latest
needs: [ compile ]
if: github.event_name != 'push' || github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' && github.actor != 'dependabot'
steps:
- name: Checkout code
uses: actions/checkout@v3