mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00: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
1 changed files with 2 additions and 1 deletions
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
@ -83,7 +83,8 @@ jobs:
|
||||||
- name: Check commit message
|
- name: Check commit message
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
run: |
|
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
|
# Tests for MySQL and MariaDB
|
||||||
mysql-tests:
|
mysql-tests:
|
||||||
|
|
Loading…
Add table
Reference in a new issue