This commit is contained in:
Shao Yu-Lung (Allen) 2022-05-07 22:54:47 +08:00 committed by GitHub
parent a835401cb2
commit 8a032ee040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,8 +19,8 @@ on:
jobs: jobs:
codacy-security-scan: codacy-security-scan:
# Ensure this job never runs on forked repos. It's only executed for 'snipe/snipe-it' # Ensure schedule job never runs on forked repos. It's only executed for 'snipe/snipe-it'
if: (github.repository == 'snipe/snipe-it') && ((github.repository != 'snipe/snipe-it') && (github.event_name != 'schedule')) if: (github.repository == 'snipe/snipe-it') || ((github.repository != 'snipe/snipe-it') && (github.event_name != 'schedule'))
name: Codacy Security Scan name: Codacy Security Scan
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: