Skip to content

Sync Branches

Sync Branches #10917

Workflow file for this run

name: Sync Branches
on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *'
jobs:
run:
runs-on: ubuntu-20.04
if: startsWith( github.repository, 'elementor/' )
steps:
- name: Checkout master branch
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.MAINTAIN_TOKEN }}
ref: master
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Sync
env:
MAINTAIN_EMAIL: ${{ secrets.MAINTAIN_EMAIL }}
MAINTAIN_USERNAME: ${{ secrets.MAINTAIN_USERNAME }}
run: |
bash "${GITHUB_WORKSPACE}/.github/scripts/sync-branches.sh"