Skip to content

Commit

Permalink
Merge pull request #445 from okp4/ci/improve-commit-msg-for-update-docs
Browse files Browse the repository at this point in the history
ci(workflow): improve commit message for updated documentation
  • Loading branch information
ccamel authored Mar 4, 2024
2 parents afaa7dd + 85222df commit a876dd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-versioned-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,16 @@ 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: "feat(${{ github.event.inputs.section }}): update draft docs"
commit_message: "feat(${{ github.event.inputs.section }}): update ${{ github.event.inputs.repository }} ${{ github.event.inputs.section }} documentation"

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
if: ${{ github.event.inputs.draft == 'false' && steps.changed-files.outputs.any_changed }}
with:
commit-message: "docs(${{ github.event.inputs.section }}): add ${{ github.event.inputs.section }} ${{ github.event.inputs.version }} version"
commit-message: "feat(${{ github.event.inputs.section }}): add ${{ github.event.inputs.repository }} ${{ github.event.inputs.version }} ${{ github.event.inputs.section }} documentation"
committer: ${{ secrets.OKP4_BOT_GIT_AUTHOR_NAME }} <${{ secrets.OKP4_BOT_GIT_AUTHOR_EMAIL }}>
author: ${{ secrets.OKP4_BOT_GIT_AUTHOR_NAME }} <${{ secrets.OKP4_BOT_GIT_AUTHOR_EMAIL }}>
branch: docs/${{ github.event.inputs.section }}-${{ github.event.inputs.version }}
branch: feat/${{ github.event.inputs.section }}-${{ github.event.inputs.version }}
title: 📜 Add ${{ github.event.inputs.version }} ${{ github.event.inputs.section }} documentation version
body: |
#### 📜 Documentation update
Expand Down

0 comments on commit a876dd2

Please sign in to comment.