3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-04 18:35:27 +00:00

Merge pull request #10988 from bestlong/bestlong-patch-1

Ensure schedule analysis job never runs on forked repos
This commit is contained in:
snipe
2022-06-13 19:45:36 -07:00
committed by GitHub

View File

@ -19,6 +19,8 @@ on:
jobs:
codacy-security-scan:
# 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'))
name: Codacy Security Scan
runs-on: ubuntu-latest
steps: