Skip to content

feat: Run action on node v20 (#16) #7

feat: Run action on node v20 (#16)

feat: Run action on node v20 (#16) #7

name: "Synchronise To Release Branch"
on:
push:
branches:
- "main"
env:
source: ${{ secrets.BRANCHES_SOURCE || 'main' }}
release: ${{ secrets.BRANCHES_RELEASE || 'release' }}
jobs:
update-branch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: "${{ env.release }}"
fetch-depth: 0
ssh-key: "${{ secrets.COMMIT_KEY }}"
- uses: prompt/actions-merge-branch@v1
with:
from: "origin/${{ env.source }}"