mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 14:18:24 +01:00
Merge pull request #6175 from marc1706/ticket/16675
[ticket/16675] Use github base branch head rev for commit message check
This commit is contained in:
commit
4d5db19feb
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user