Skip to content

fix(deps): update react monorepo #687

fix(deps): update react monorepo

fix(deps): update react monorepo #687

Workflow file for this run

name: Retarget PR
# Triggering the workflow on PR events of interest
on:
pull_request:
types:
- "opened"
- "synchronize"
- "reopened"
- "edited"
jobs:
# Retarget to stage branch if PR is opened against main branch directly
# Only allow targeting main if they are from stage and hotfix branches
retarget-pr:
name: Retarget PR
if: github.base_ref == 'main' && github.head_ref != 'stage' && github.head_ref != 'hotfix'
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v4
# Change PR target
- name: Change PR target
run: gh pr edit ${{ github.event.number }} --base stage
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}