Skip to content

Commit

Permalink
Don't run shiftleft on release branches
Browse files Browse the repository at this point in the history
We require PRs for those branches so this is already checked in the branch before. The job fails on the release branch but worked in the PR so besides misleading this is also redundant.
  • Loading branch information
vmcj committed Dec 4, 2023
1 parent 19909c4 commit 80b37e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/shiftleft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: SL Scan

on:
push:
branches-ignore:
- main
- '[0-9]+.[0-9]+'

jobs:
Scan-Build:
Expand Down

0 comments on commit 80b37e9

Please sign in to comment.