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:
parent
17d066a980
commit
d6a17c1fe7
5
.github/workflows/merge_3.3.x_to_master.yml
vendored
5
.github/workflows/merge_3.3.x_to_master.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user