Skip to content

Commit 45a43e8

Browse files
authored
Merge pull request phpbb#6720 from marc1706/ticket/17396
[ticket/17396] Fetch full history and branch 3.3.x if merging to master
2 parents ba03a05 + 08d184b commit 45a43e8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/merge_3.3.x_to_master.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
steps:
1313
- name: Checkout the repository
1414
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0 # Fetch full history for proper merging
17+
ref: 3.3.x # Checkout the 3.3.x branch
1518

1619
- name: Fetch the latest commit information
1720
id: get-commit-info
@@ -35,9 +38,7 @@ jobs:
3538
run: git fetch --all
3639

3740
- name: Merge 3.3.x into master
38-
# First checkout 3.3.x and master to track from origin, then try merging to master
3941
run: |
40-
git checkout 3.3.x
4142
git checkout master
4243
if git merge --no-ff 3.3.x; then
4344
echo "merge_failed=false" >> $GITHUB_ENV

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ jobs:
351351
352352
# Other database types, namely sqlite3 and mssql
353353
other-tests:
354-
runs-on: ubuntu-22.04
354+
runs-on: ubuntu-20.04
355355
strategy:
356356
matrix:
357357
include:

0 commit comments

Comments
 (0)