From bc7585c89af37279f4171715857a36e3c3fb2832 Mon Sep 17 00:00:00 2001 From: ccamel Date: Thu, 8 Feb 2024 09:29:17 +0100 Subject: [PATCH] ci(workflow): use correct commit message for docs update --- .github/workflows/update-versioned-docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-versioned-docs.yml b/.github/workflows/update-versioned-docs.yml index 1d28a209a11..37091518332 100644 --- a/.github/workflows/update-versioned-docs.yml +++ b/.github/workflows/update-versioned-docs.yml @@ -54,7 +54,7 @@ jobs: - name: Copy updated docs run: | rm -rf ${{ github.event.inputs.section }}/* - rsync -rmv --include='*/' --include='*.md' --include='*.json' --exclude='*' tmp/${{ github.event.inputs.docs_directory }} ${{ github.event.inputs.section }} + rsync -rmv --include='*/' --include='*.md' --include='*.mdx' --include='*.json' --exclude='*' tmp/${{ github.event.inputs.docs_directory }} ${{ github.event.inputs.section }} git rm --ignore-unmatch --cached tmp rm -rf .git/modules/tmp rm -rf tmp @@ -86,7 +86,7 @@ jobs: commit_user_name: ${{ secrets.OKP4_BOT_GIT_COMMITTER_NAME }} commit_user_email: ${{ secrets.OKP4_BOT_GIT_COMMITTER_EMAIL }} commit_author: ${{ secrets.OKP4_BOT_GIT_AUTHOR_NAME }} <${{ secrets.OKP4_BOT_GIT_AUTHOR_EMAIL }}> - commit_message: "docs: update draft docs for ${{ github.event.inputs.section }}" + commit_message: "feat(${{ github.event.inputs.section }}): update draft docs" - name: Create Pull Request uses: peter-evans/create-pull-request@v6