Skip to content
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

Add GitHub Actions workflow to create merge-up pull requests #1248

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Mar 7, 2024

Similar to the corresponding change in laravel-mongodb, this new workflow ensures that changes pushed to older branches are merged up to newer branches.

@alcaeus alcaeus self-assigned this Mar 7, 2024
@alcaeus alcaeus requested a review from a team as a code owner March 7, 2024 09:55
@alcaeus alcaeus requested a review from jmikola March 7, 2024 09:55
with:
ref: ${{ github.ref_name }}
branchNamePattern: 'v<major>.<minor>'
fallbackBranch: 'master'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This ensures that if no newer versioned branch name is found, a pull request to master is created. The list of branches checked when pushing to v1.17 would thus be:

  • v1.18
  • v2.0
  • master

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted that this is the only difference from mongodb/laravel-mongodb#2748

@alcaeus alcaeus merged commit 770abbe into mongodb:v1.17 Mar 8, 2024
23 checks passed
@alcaeus alcaeus deleted the merge-up-action branch March 8, 2024 11:59
alcaeus added a commit that referenced this pull request Mar 8, 2024
* v1.17:
  Add GitHub Actions workflow to create merge-up pull requests (#1248)
  DOCSP-36627: Additional double backslash fixes for v1.17 (#1243)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants