From 24e5d1b8c291c6df6952423b67122bc1290bdd9b Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 9 Jan 2025 19:56:20 +0100 Subject: [PATCH] checking bramborak secret on codacy start instead --- .github/workflows/codacy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codacy.yml b/.github/workflows/codacy.yml index 102d155..741653a 100644 --- a/.github/workflows/codacy.yml +++ b/.github/workflows/codacy.yml @@ -25,9 +25,13 @@ on: permissions: contents: read + +env: + bramborak: ${{ secrets.BRAMBORAK }} + jobs: codacy-security-scan: - if: env.GITHUB_ACTIONS == 'true' # Ensure this job runs only on GitHub + if: env.bramborak == 'ted jsem tam mel jednu slapku' # Ensure this job runs only on GitHub permissions: contents: read security-events: write