Skip to content

Sync your forks

Actions
Update your forks to their main repo
v1.0.4
Latest
Star (6)

Sync your forks

This action locks a pull-request

Example usage

  - name: sync my fork
    uses: sudo-bot/[email protected]
    with:
        branches: master, STABLE, next
        source-url: "https://${{ secrets.BOT_TOKEN }}:[email protected]/orgname/officialproject.git"
        # Give repo scope to token and access to myname/officialproject-fork for a token user != myname (eg: a bot)
        fork-url: "https://${{ secrets.BOT_TOKEN }}:[email protected]/myname/officialproject-fork.git"
        dry-run: "true" # remove this line to make sync effective
        clone-depth: "100" # optional, defaults to 100
        sync-method: "fast-forward" # optional, defaults to "fast-forward". Can be "rebase", "merge" or "fast-forward".

Sync your forks is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Update your forks to their main repo
v1.0.4
Latest

Sync your forks is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.