From 0b6462f4d21beab9a15e33e8beeba0ffccf01db3 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sun, 27 Apr 2025 09:12:58 +0200 Subject: [PATCH] Fixed secret name. --- .github/workflows/CompletePipeline.yml | 2 +- doc/JobTemplate/CoverageCollection.rst | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CompletePipeline.yml b/.github/workflows/CompletePipeline.yml index 722fa7f..be24c0c 100644 --- a/.github/workflows/CompletePipeline.yml +++ b/.github/workflows/CompletePipeline.yml @@ -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 diff --git a/doc/JobTemplate/CoverageCollection.rst b/doc/JobTemplate/CoverageCollection.rst index 8b9c3dc..4749ce3 100644 --- a/doc/JobTemplate/CoverageCollection.rst +++ b/doc/JobTemplate/CoverageCollection.rst @@ -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 **********