diff --git a/.github/workflows/compatibility_test.yml b/.github/workflows/compatibility_test.yml index a5a5a6c..9f56b71 100644 --- a/.github/workflows/compatibility_test.yml +++ b/.github/workflows/compatibility_test.yml @@ -177,11 +177,10 @@ jobs: if-no-files-found: error - name: Pytest Coverage Comment - if: >- - matrix.python-version == '3.8' && - github.event_name != 'workflow_dispatch' + if: matrix.python-version == '3.8' uses: MishaKav/pytest-coverage-comment@v1 with: + issue-number: ${{ github.event.inputs.pr_number }} title: Coverage Details on ${{ env.SHORT_OS }} under Python ${{ matrix.python-version }} badge-title: Coverage hide-badge: false diff --git a/misc/validate_pr_title.sh b/misc/validate_pr_title.sh index bd18946..6a0eec2 100644 --- a/misc/validate_pr_title.sh +++ b/misc/validate_pr_title.sh @@ -10,7 +10,7 @@ green_output() { # --------------------------------------------------------------------------------------------------- -PATTERN='^(depr|perf|feat|fix|doc|test|ci|chore|build|refactor|revert)(\([^ ]+\))?\!?\s?: [A-Z].*[^\.\!\?,…!?。, ]$' +PATTERN='^(depr|perf|feat|fix|docs|test|ci|chore|build|refactor|revert)(\([^ ]+\))?\!?\s?: [A-Z].*[^\.\!\?,…!?。, ]$' if [ $# -ne 1 ]; then red_output "Error: There is and only needs one input, please enclose your input in '' and retry!"