Skip to content

Commit

Permalink
build: sync v22 and v23
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz committed Dec 18, 2024
1 parent f3b0554 commit 63d68b3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/sync-22-23.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Sync 23.x with 22.x
on:
push:
branches:
- release-22.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/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FROM_BRANCH: release-22.x
TO_BRANCH: release-23.x
- name: Auto-approve pull request for sync
uses: hmarr/auto-approve-action@v2
with:
pull-request-number: ${{ steps.cpr.outputs.PULL_REQUEST_NUMBER }}
github-token: ${{ secrets.requirements_bot_github_token }}
- 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 63d68b3

Please sign in to comment.