Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
An action to automatically update your fork with new commits from the upstream repo
| Date | Stars |
|---|---|
| 2026-07-24 | 323 |
| 2026-07-25 | 323 |
| 2026-07-28 | 323 |
| 2026-07-30 | 323 |
| 2026-08-07 | 323 |
| 2026-08-15 | 324 |
| 2026-08-18 | 325 |
| 2026-08-23 | 326 |
| 2026-08-26 | 326 |
| 2026-08-29 | 326 |
| 2026-09-09 | 325 |
| 2026-09-11 | 327 |
| 2026-09-12 | 327 |
| 2026-09-15 | 327 |
| 2026-09-16 | 326 |
| 2026-09-17 | 327 |
| 2026-09-18 | 328 |
| 2026-09-20 | 329 |
Today
+1 stars today
This week
+2 stars this week
This month
+4 stars this month
Momentum
11.0
growth rate 0.61%/day
# Github Action: Upstream Sync
## About
An action with forks in mind! Automatically sync a branch on your fork with the latest commits from the original repo. It should work to keep any two branches in sync. Keep all your things up to date!
## Support This Project
This project is not currently in active development, but code contributions are always welcome.
I encourage you to share projects using Fork Sync in the Users file. Open a PR against Users so others can check out your work!
> [USERS.md](/USERS.md)
If you would like to see more updates to this project, please consider taking a brief survey to help me understand your needs. Thank you, and happy coding.
> [Fork Sync - Developer Survey](https://forms.gle/pNGkmDWBidcu3BnPA)
## Intended Workflow
This action was made to keep **non-working** branches up to date with a remote repo. However, you should also be able to use it for branches under active development as long as the custom input supports your needs.
Configure the action with a branch on your `target` repo - the one you want to update - and a branch on your `upstream` repo - where the updates are coming from. This action checks out those branches on both repos, checks for any new commits (by hash comparison), and pulls those new commits from upstream to the target. Easy!
<img src="img/fork-sync-diagram.png" alt="sample git workflow">
## How to Use
[Add a workflow](https://docs.github.com/en/actions/quickstart#creating-your-first-workflow) to your repo that includes this action ([sample below](#sample-workflow)). Please note that scheduled workflows only run on the default branch of a repo.
### Input Variables
| Name | Required? | Default | Example |
| -------------------------- | :----------------: | ------------ | ---------------------------------------- |
| target_host_domain | | 'github.com' | 'codeberg.org' |
| target_sync_branch | :white_check_mark: | | 'master', 'main', 'my-branch' |
| target_repo_token | :white_check_mark: | | ${{ secrets.GITHUB_TOKEN }} |
| upstream_repo_access_token | | | ${{ secrets.NAME_OF_TOKEN }} |
| upstream_sync_repo | :white_check_mark: | | 'aormsby/Fork-Sync-With-Upstream-action' |
| upstream_sync_branch | :white_check_mark: | | 'master', 'main', 'my-branch' |
| test_mode | | false | true / false |
**Always** set `target_repo_token` to `${{ secrets.GITHUB_TOKEN }}` so the action can push to your target repo.
> For more information on optional input variables, advanced configurations, and working with private repos, see [Wiki - Configuration](https://github.com/aormsby/Fork-Sync-With-Upstream-action/wiki/Configuration)
### Output Variables
| Name | Output | Description |
| --------------- | ---------- | --------------------------------------------------------------------------------------------------------------- |
| has_new_commits | true/false | Outputs true if new commits were found in the remote repo, false if target repo already has the latest updates. |
If you need more output data, please open an issue to request it.
## Sample Workflow
```yaml
name: 'Upstream Sync'
on:
schedule:
- cron: '0 7 * * 1,4'
# scheduled at 07:00 every Monday and Thursday
workflow_dispatch: # click the button on Github repo!
inputs:
sync_test_mode: # Adds a boolean option that appears during manual workflow run for easy test mode config
description: 'Fork Sync Test Mode'
type: boolean
default: false
jobs:
sync_latest_from_upstream:
runs-on: ubuntu-latest
name:Excerpt of 5,567 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:c8b5860021270f5a, topic:workflow