Skip to content

Commit

Permalink
Update sast.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jokubauskas <[email protected]>
  • Loading branch information
lukjok authored Oct 20, 2023
1 parent 420d82b commit 3b23938
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/sast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,14 @@
on:
pull_request_target:
types: [labeled]
pull_request:
branches: [main]
push:
branches:
- 'chore/**'
- 'feat/**'
branches-ignore:
- 'main'
jobs:
sast:
runs-on: sast
if: |
github.event_name == 'push' ||
(
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
) ||
(
github.event_name == 'pull_request_target' &&
github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name &&
Expand Down

0 comments on commit 3b23938

Please sign in to comment.