From 3f7b0c221bd865a472ce98fd44465365ca99ebdf Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sat, 26 Apr 2025 20:07:08 +0200 Subject: [PATCH] Use == 'true'. --- .github/workflows/CompletePipeline.yml | 14 +++++--------- .github/workflows/PrepareJob.yml | 4 ++-- .github/workflows/_Checking_JobTemplates.yml | 4 ++-- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/CompletePipeline.yml b/.github/workflows/CompletePipeline.yml index a89e947..e0c99b6 100644 --- a/.github/workflows/CompletePipeline.yml +++ b/.github/workflows/CompletePipeline.yml @@ -234,9 +234,7 @@ jobs: coverage_report_html_directory: ${{ needs.ConfigParams.outputs.coverage_report_html_directory }} codecov: ${{ inputs.codecov }} codacy: ${{ inputs.codacy }} - secrets: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - CODACY_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} + secrets: inherit PublishTestResults: uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev @@ -250,8 +248,7 @@ jobs: merged_junit_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }} dorny: ${{ inputs.dorny }} codecov: ${{ inputs.codecov }} - secrets: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + secrets: inherit # VerifyDocs: # uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev @@ -338,7 +335,7 @@ jobs: # - StaticTypeCheck - Package - PublishToGitHubPages - if: needs.Prepare.outputs.is_release_tag + if: needs.Prepare.outputs.is_release_tag == 'true' permissions: contents: write actions: write @@ -352,13 +349,12 @@ jobs: - Prepare - UnitTestingParams - ReleasePage - if: needs.Prepare.outputs.is_release_tag + if: needs.Prepare.outputs.is_release_tag == 'true' with: python_version: ${{ needs.UnitTestingParams.outputs.python_version }} requirements: -r dist/requirements.txt artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }} - secrets: - PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} + secrets: inherit ArtifactCleanUp: uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev diff --git a/.github/workflows/PrepareJob.yml b/.github/workflows/PrepareJob.yml index 529ad26..64a7d88 100644 --- a/.github/workflows/PrepareJob.yml +++ b/.github/workflows/PrepareJob.yml @@ -212,11 +212,11 @@ jobs: printf " Check tag name against regexp '%s' ... " "${RELEASE_TAG_PATTERN}" if [[ "${tag}" =~ NIGHTLY_TAG_PATTERN ]]; then printf "${ANSI_LIGHT_GREEN}[NIGHTLY]${ANSI_NOCOLOR}\n" - is_nightly_tag=true + is_nightly_tag="true" elif [[ "${tag}" =~ $RELEASE_TAG_PATTERN ]]; then printf "${ANSI_LIGHT_GREEN}[RELEASE]${ANSI_NOCOLOR}\n" version="${tag}" - is_release_tag=true + is_release_tag="true" else printf "${ANSI_LIGHT_RED}[FAILED]${ANSI_NOCOLOR}\n" printf "${ANSI_LIGHT_RED}Tag name '%s' doesn't conform to regexp${ANSI_NOCOLOR}\n" "${tag}" diff --git a/.github/workflows/_Checking_JobTemplates.yml b/.github/workflows/_Checking_JobTemplates.yml index 94846fc..677e59a 100644 --- a/.github/workflows/_Checking_JobTemplates.yml +++ b/.github/workflows/_Checking_JobTemplates.yml @@ -215,7 +215,7 @@ jobs: # - StaticTypeCheck - Package - PublishToGitHubPages - if: needs.Prepare.outputs.is_release_tag + if: needs.Prepare.outputs.is_release_tag == 'true' permissions: contents: write actions: write @@ -229,7 +229,7 @@ jobs: - UnitTestingParams - ReleasePage # - Package - if: needs.Prepare.outputs.is_release_tag + if: needs.Prepare.outputs.is_release_tag == 'true' with: python_version: ${{ needs.UnitTestingParams.outputs.python_version }} requirements: -r dist/requirements.txt