Skip to content

Sync Fork

Sync Fork #154

Workflow file for this run

name: Sync Fork
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Sync and merge upstream repository with your current repository
uses: dabreadman/[email protected]
with:
# URL of gitHub public upstream repo
upstream_repo: https://github.com/mockoon/mockoon.git
# Branch to merge from upstream (defaults to downstream branch)
upstream_branch: main
# Branch to merge into downstream
downstream_branch: main
# GitHub Bot token
# token: ${{secrets.GITHUB_TOKEN}}
token: ${{secrets.REPO_SYNC_TOKEN}} #NEW TOKEN ADDED FOR ORG WITH WORKFLOW PERMISSION