ARES - authorized red-team engagement automation with dashboard, campaign scope, module orchestration, OPSEC controls, encrypted vault, and reporting.
Python active-directorycloud-securitydefensive-validationfastapigood-first-issuemitre-attackopsecreactred-teamreportingsecurity
ci: fix Codecov token condition
Mafifrizi2ec3ff0e160d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 6e2485e..ba65063 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -56,6 +56,7 @@ jobs:ARES_SECRET_KEY: "ci-secret-key-placeholder-min32chars!!"ARES_ENCRYPTION_KEY: "ci-encryption-key-placeholder-32chars"ARES_DEFAULT_ADMIN_PASSWORD: "CiAdmin1!-placeholder-secret99"+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}steps:- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0@@ -68,10 +69,10 @@ jobs:- name: Unit tests with coverage thresholdrun: pytest tests/unit/ --cov=ares --cov-report=xml --cov-fail-under=85 # threshold: 80→82→85→90 — next target: 90 -v- name: Upload coverage to Codecov- if: ${{ secrets.CODECOV_TOKEN != '' }}+ if: ${{ env.CODECOV_TOKEN != '' }}uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v4.6.0with:- token: ${{ secrets.CODECOV_TOKEN }}+ token: ${{ env.CODECOV_TOKEN }}fail_ci_if_error: falseintegration: