diff --git a/.github/workflows/_publishing.yml b/.github/workflows/_publishing.yml index f4f1a9f0f2..305be91a8d 100644 --- a/.github/workflows/_publishing.yml +++ b/.github/workflows/_publishing.yml @@ -32,6 +32,7 @@ jobs: HARBOR_SECRET: ${{ secrets.HARBOR_SECRET }} - name: Update Version Information uses: "./.github/workflows/update-release-info" + if: ${{ inputs.publishType == 'release' }} with: createPR: ${{ ! endsWith(github.ref, 'pre') }} releaseVersion: ${{ env.dissolveVersion }} diff --git a/.github/workflows/qc/action.yml b/.github/workflows/qc/action.yml index 52f469a9b7..7416c71636 100644 --- a/.github/workflows/qc/action.yml +++ b/.github/workflows/qc/action.yml @@ -16,9 +16,11 @@ runs: # Ensure that the PR title fits the conventional commits framework if: github.event_name == 'pull_request' shell: bash + env: + TITLE: ${{ github.event.pull_request.title }} run: | set -ex - echo '${{ github.event.pull_request.title }}' | awk "/(^feat:)|(^fix:)|(^doc:)|(^perf:)|(^refactor:)|(^style:)|(^test:)|(^chore:)|(^revert:)|(^build:)/" | grep . + echo "${TITLE}" | awk "/(^feat:)|(^fix:)|(^doc:)|(^perf:)|(^refactor:)|(^style:)|(^test:)|(^chore:)|(^revert:)|(^build:)/" | grep . - name: C++ Formatting shell: bash