A free open source IT asset/license management system
Ensure analysis job never runs on forked repos
Shao Yu-Lung (Allen)2cd7c7a357ca
diff --git a/.github/workflows/codacy-analysis.yml b/.github/workflows/codacy-analysis.ymlindex bbc5bc09d9..e7d73fa772 100644--- a/.github/workflows/codacy-analysis.yml+++ b/.github/workflows/codacy-analysis.yml@@ -19,6 +19,8 @@ on:jobs:codacy-security-scan:+ # Ensure this job never runs on forked repos. It's only executed for 'snipe/snipe-it'+ if: github.repository == 'snipe/snipe-it'name: Codacy Security Scanruns-on: ubuntu-lateststeps: