Skip to content

Commit

Permalink
chore: add workflow to sync next with 23.x
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-smith-tcril committed Dec 12, 2024
1 parent 9d08614 commit d86ce64
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/sync-23-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Sync next with 23.x
on:
push:
branches:
- release-23.x
workflow_dispatch:

jobs:
sync-branches:
runs-on: ubuntu-latest
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Create Pull Request
id: cpr
uses: tretuna/sync-branches@1.4.0
with:
GITHUB_TOKEN: ${{ secrets.requirements_bot_github_token }}
FROM_BRANCH: release-23.x
TO_BRANCH: next
- name: Enable Pull Request Automerge
uses: peter-evans/enable-pull-request-automerge@v2
with:
token: ${{ secrets.requirements_bot_github_token }}
pull-request-number: ${{ steps.cpr.outputs.PULL_REQUEST_NUMBER }}

0 comments on commit d86ce64

Please sign in to comment.