1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-19 23:32:02 +02:00

[ticket/16675] Use github base branch head rev for commit message check

PHPBB3-16675
This commit is contained in:
Marc Alexander 2021-03-26 21:08:31 +01:00
parent 6d46c08191
commit 718d2dc77e
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -83,7 +83,8 @@ jobs:
- name: Check commit message
if: github.event_name == 'pull_request'
run: |
git-tools/commit-msg-hook-range.sh $(git rev-list --merges -n 1 HEAD^1)..$GITHUB_SHA
git fetch origin $GITHUB_BASE_REF &> /dev/null
git-tools/commit-msg-hook-range.sh $(git rev-parse origin/$GITHUB_BASE_REF)..$GITHUB_SHA
# Tests for MySQL and MariaDB
mysql-tests: