Skip to content

Commit 8937643

Browse files
fix: doc-deploy-changelog (#876)
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
1 parent 079d27b commit 8937643

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc-deploy-changelog/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ runs:
381381
fi
382382
383383
- name: "Create PR into main with the CHANGELOG file changes"
384-
if: ${{ (inputs.release-from-main == 'false' ) && (env.UPDATED_CHANGELOG == 'true') }}
384+
if: ${{ (inputs.release-from-main == 'false' ) && (steps.new-section-changelog.outputs.UPDATED_CHANGELOG == 'true') }}
385385
env:
386386
GH_TOKEN: ${{ inputs.token }}
387387
GITHUB_ACTOR: ${{ github.actor }}
@@ -438,7 +438,7 @@ runs:
438438
pr_title="CHORE: update CHANGELOG for v${TAG_VERSION}"
439439
fi
440440
441-
body_msg="Update CHANGELOG for v${TAG_VERSION} and remove .md files in ${TOWNCRIER_DIR}."
441+
body_msg="Update CHANGELOG for v${TAG_VERSION} and remove .md files in ${TOWNCRIER_DIR}.
442442
443443
> [!CAUTION]
444444
> Do not merge this pull request until the release has been successfully made."
@@ -451,7 +451,7 @@ runs:
451451
TAG_VERSION: ${{ steps.save-tag-version.outputs.TAG_VERSION }}
452452
UPDATE_BRANCH: ${{ steps.set-branch-changelog.outputs.UPDATE_BRANCH }}
453453
RELEASE_BRANCH_EXISTS: ${{ steps.set-branch-changelog.outputs.RELEASE_BRANCH_EXISTS }}
454-
if: contains(env.UPDATED_CHANGELOG, 'true')
454+
if: contains(steps.new-section-changelog.outputs.UPDATED_CHANGELOG, 'true')
455455
shell: bash
456456
run: |
457457
# Checkout branch created from tag with CHANGELOG update & pull

doc/source/changelog/876.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Doc-deploy-changelog

0 commit comments

Comments
 (0)