Skip to content

Merge v1.17 into master #1523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .evergreen/compile-unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,19 @@ esac
# Report the current PHP version
echo "PHP: `php --version | head -n 1`"

# If we're testing a specific version of libmongoc, update submodule sources
if [ -n "$LIBMONGOC_VERSION" ]; then
php scripts/update-submodule-sources.php
fi

phpize
./configure --enable-mongodb-developer-flags

# If we're testing a specific version of libmongoc, regenerate the version file
# configure relies on version information in libmongoc-version-current, but the target is not available until after calling configure
# To work around this, run the make target, then run configure again
if [ -n "$LIBMONGOC_VERSION" ]; then
make libmongoc-version-current
./configure --enable-mongodb-developer-flags
fi

make test TESTS="tests/smoketest.phpt"
34 changes: 34 additions & 0 deletions .github/workflows/merge-up.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Merge up

on:
push:
branches:
- "v[0-9]+.[0-9]+"

permissions:
contents: write
pull-requests: write

env:
GH_TOKEN: ${{ github.token }}

jobs:
merge-up:
name: Create merge up pull request
runs-on: ubuntu-latest

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
with:
# fetch-depth 0 is required to fetch all branches, not just the branch being built
fetch-depth: 0

- name: Create pull request
id: create-pull-request
uses: alcaeus/automatic-merge-up-action@main
with:
ref: ${{ github.ref_name }}
branchNamePattern: 'v<major>.<minor>'
fallbackBranch: 'master'