1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-30 04:38:21 +02:00

[ticket/17396] Fetch full history and branch 3.3.x if merging to master

PHPBB-17396
This commit is contained in:
Marc Alexander 2024-09-19 20:48:21 +02:00
parent 17d066a980
commit d6a17c1fe7
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -12,6 +12,9 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch full history for proper merging
ref: 3.3.x # Checkout the 3.3.x branch
- name: Fetch the latest commit information
id: get-commit-info
@ -35,9 +38,7 @@ jobs:
run: git fetch --all
- name: Merge 3.3.x into master
# First checkout 3.3.x and master to track from origin, then try merging to master
run: |
git checkout 3.3.x
git checkout master
if git merge --no-ff 3.3.x; then
echo "merge_failed=false" >> $GITHUB_ENV