From 438ad107964731555148a15dbc231816413faf06 Mon Sep 17 00:00:00 2001 From: adarro Date: Sun, 25 Aug 2024 11:43:06 -0600 Subject: [PATCH] :green_heart: Codacy should only run against Org (truthencode) not personal fork. --- .github/workflows/codacy_analysis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codacy_analysis.yml b/.github/workflows/codacy_analysis.yml index 98e66e94..1a990845 100644 --- a/.github/workflows/codacy_analysis.yml +++ b/.github/workflows/codacy_analysis.yml @@ -11,6 +11,7 @@ permissions: read-all - main jobs: codacy-security-scan: + if: github.repository == 'truthencode/ddo-calc' name: Codacy Security Scan runs-on: ubuntu-latest steps: @@ -28,6 +29,7 @@ jobs: with: sarif_file: results.sarif codacy-analysis-cli: + if: github.repository == 'truthencode/ddo-calc' name: Codacy Analysis CLI runs-on: ubuntu-latest steps: