update scan workflow conditions (#5089)

This commit is contained in:
Mark Collao authored and GitHub committed 2024-09-09 09:27:22 -07:00
1 parent a830892fec
commit 0b4e17162d
1 file changed
+4 -1
+4 -1
View File
@@ -12,7 +12,10 @@ on:
jobs:
scan:
runs-on: ${{ fromJSON(vars.RUNNER_LARGE) }}
if: ${{ github.actor != 'dependabot[bot]' || github.actor != 'hc-github-team-secure-boundary' }}
if: |
! github.event.pull_request.head.repo.fork &&
github.actor != 'dependabot[bot]' &&
github.actor != 'hc-github-team-secure-boundary'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7