mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge pull request #6720 from marc1706/ticket/17396
[ticket/17396] Fetch full history and branch 3.3.x if merging to master
This commit is contained in:
commit
45a43e85d8
2 changed files with 4 additions and 3 deletions
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:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Fetch the latest commit information
|
||||||
id: get-commit-info
|
id: get-commit-info
|
||||||
|
@ -35,9 +38,7 @@ jobs:
|
||||||
run: git fetch --all
|
run: git fetch --all
|
||||||
|
|
||||||
- name: Merge 3.3.x into master
|
- name: Merge 3.3.x into master
|
||||||
# First checkout 3.3.x and master to track from origin, then try merging to master
|
|
||||||
run: |
|
run: |
|
||||||
git checkout 3.3.x
|
|
||||||
git checkout master
|
git checkout master
|
||||||
if git merge --no-ff 3.3.x; then
|
if git merge --no-ff 3.3.x; then
|
||||||
echo "merge_failed=false" >> $GITHUB_ENV
|
echo "merge_failed=false" >> $GITHUB_ENV
|
||||||
|
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -351,7 +351,7 @@ jobs:
|
||||||
|
|
||||||
# Other database types, namely sqlite3 and mssql
|
# Other database types, namely sqlite3 and mssql
|
||||||
other-tests:
|
other-tests:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
|
Loading…
Add table
Reference in a new issue