Skip to content

chore(deps): update dependency @types/node to v18.19.39 #277

chore(deps): update dependency @types/node to v18.19.39

chore(deps): update dependency @types/node to v18.19.39 #277

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 }}