Fixed secret name.

This commit is contained in:
Patrick Lehmann
2025-04-27 09:12:58 +02:00
parent b0198fa459
commit 0b6462f4d2
2 changed files with 3 additions and 5 deletions

View File

@@ -120,7 +120,7 @@ on:
CODECOV_TOKEN:
description: "Token for pushing coverage and unittest results to Codecov."
required: false
CODACY_PROJECT_TOKEN:
CODACY_TOKEN:
description: "Token for pushing coverage results to Codacy."
required: false

View File

@@ -55,8 +55,7 @@ Simple Example
uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@r0
with:
artifact: Coverage
secrets:
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
secrets: inherit
Complex Example
===============
@@ -71,8 +70,7 @@ Complex Example
with:
python_version: ${{ needs.Params.outputs.python_version }}
artifact: ${{ fromJson(needs.Params.outputs.artifact_names).codecoverage_html }}
secrets:
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
secrets: inherit
Parameters
**********