Skip to content

chore: auto approve 23 -> next sync PRs (#3359) #3

chore: auto approve 23 -> next sync PRs (#3359)

chore: auto approve 23 -> next sync PRs (#3359) #3

Workflow file for this run

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/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.requirements_bot_github_token }}
FROM_BRANCH: release-23.x
TO_BRANCH: next
- 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 }}