Sync Fork #145
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |