From 64b764edb891136b43808169fa5db4daf77a47af Mon Sep 17 00:00:00 2001 From: huong-li-nguyen Date: Tue, 31 Oct 2023 22:36:13 +0100 Subject: [PATCH] Update lint-vizro-ai.yml --- .github/workflows/lint-vizro-ai.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-vizro-ai.yml b/.github/workflows/lint-vizro-ai.yml index 95ac9e1a2..de1a6be25 100644 --- a/.github/workflows/lint-vizro-ai.yml +++ b/.github/workflows/lint-vizro-ai.yml @@ -53,7 +53,6 @@ jobs: - name: Find added changelog fragments id: added-files run: | - pwd if ${{ github.event_name == 'pull_request' }}; then echo "added_files=$(git diff --name-only --diff-filter=A -r HEAD^1 HEAD -- changelog.d/*.md | xargs)" >> $GITHUB_OUTPUT else @@ -64,9 +63,9 @@ jobs: run: | if [ -z "${{ steps.added-files.outputs.added_files }}" ]; then - echo "No changelog fragment .md file within changelog.d was detected. Run 'hatch run docs:changelog' to create such a fragment."; + echo "No changelog fragment .md file within changelog.d was detected. Run 'hatch run changelog:add' to create such a fragment."; echo "If your PR contains changes that should be mentioned in the CHANGELOG in the next release, please uncomment the relevant section in your created fragment and describe the changes to the user." - echo "If your changes are not relevant for the CHANGELOG, please save and commit the file as." + echo "If your changes are not relevant for the CHANGELOG, please save and commit the file as is." exit 1 else echo "${{ steps.added-files.outputs.added_files }} was added - ready to go!";