From fba541d354799039f04b51e46c4f820c8d27f0f4 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 9 Jan 2025 19:51:31 +0100 Subject: [PATCH] checking GITHUB_ACTIONS envvar on codacy start --- .github/workflows/codacy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codacy.yml b/.github/workflows/codacy.yml index d937c74..102d155 100644 --- a/.github/workflows/codacy.yml +++ b/.github/workflows/codacy.yml @@ -27,7 +27,7 @@ permissions: jobs: codacy-security-scan: - if: ${{ secrets.BRAMBORAK }} == 'ted jsem tam mel jednu slapku' + if: env.GITHUB_ACTIONS == 'true' # Ensure this job runs only on GitHub permissions: contents: read security-events: write