mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-14 04:30:29 +01:00
[ticket/16659] Add commit message check
PHPBB3-16659
This commit is contained in:
parent
bff3c7c7af
commit
c2c2c3f62b
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
@ -217,6 +217,13 @@ jobs:
|
||||
run: |
|
||||
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
|
||||
|
||||
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
|
||||
|
Loading…
x
Reference in New Issue
Block a user