1
0
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:
Marc Alexander 2021-03-29 22:04:22 +02:00 committed by GitHub
commit 4d5db19feb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: