mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16659] Add commit message check
PHPBB3-16659
This commit is contained in:
parent
bff3c7c7af
commit
c2c2c3f62b
1 changed files with 7 additions and 0 deletions
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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue