https://github.com/sudo-bot/action-fork-sync
Sync your GitHub forks
https://github.com/sudo-bot/action-fork-sync
bot github-actions sync-fork
Last synced: 8 months ago
JSON representation
Sync your GitHub forks
- Host: GitHub
- URL: https://github.com/sudo-bot/action-fork-sync
- Owner: sudo-bot
- License: mpl-2.0
- Created: 2020-04-04T13:01:41.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T21:35:29.000Z (over 1 year ago)
- Last Synced: 2025-06-22T21:36:24.525Z (9 months ago)
- Topics: bot, github-actions, sync-fork
- Language: Shell
- Homepage:
- Size: 31.3 KB
- Stars: 6
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sync your forks
This action locks a pull-request
## Example usage
```yml
- name: sync my fork
uses: sudo-bot/action-fork-sync@v1.0.1
with:
branches: master, STABLE, next
source-url: "https://${{ secrets.BOT_TOKEN }}:x-oauth-basic@github.com/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 }}:x-oauth-basic@github.com/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".
```