mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 13:30:25 +02:00
[ticket/16659] Add commit message check
PHPBB3-16659
This commit is contained in:
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
@@ -217,6 +217,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --group slow
|
phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --group slow
|
||||||
|
|
||||||
|
- name: Check commit message
|
||||||
|
env:
|
||||||
|
BRANCH: ${{ github.event.pull_request.base.ref }}
|
||||||
|
PR_SHA: ${{ github.event.pull_request.head.sha }}
|
||||||
|
if: ${{ matrix.NOTESTS == 1 && github.event.pull_request.head.sha != '' && github.event.pull_request.base.ref != '' }}
|
||||||
|
run: |
|
||||||
|
git remote set-branches --add origin $BRANCH && git fetch && git-tools/commit-msg-hook-range.sh origin/$BRANCH..$PR_SHA
|
||||||
# @todo: Add commit message check
|
# @todo: Add commit message check
|
||||||
|
|
||||||
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
|
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
|
||||||
|
Reference in New Issue
Block a user