Skip to content

Commit

Permalink
Disable security scan in ci-pr.yml
Browse files Browse the repository at this point in the history
Added env to control the scan.
  • Loading branch information
corneil committed Nov 15, 2024
1 parent 213c26f commit 573e76b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:

env:
ENABLE_SECURITY_SCAN: false
ENABLE_SECURITY_SCAN: 'false'

jobs:
build:
Expand All @@ -21,7 +21,7 @@ jobs:
run: |
./mvnw -B -s .github/settings.xml -Pdocs clean install
scan:
if: ${{ env.ENABLE_SECURITY_SCAN }}
if: ${{ env.ENABLE_SECURITY_SCAN != 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 573e76b

Please sign in to comment.