6dduu6/Sync Repository
Sync repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jan 26, 2023
- License
- None
Pinned Snippet
uses: 6dduu6/repo-sync@8796b0c9fcf33b5e7fcb367eb99841f8a6b5ddb0 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| up_repo | Optional, upstream repository, like 'owner/example_repo', default using parent if is a fork repository. | no | "" |
| token | Optional, Github token, no push event triggered if using 'secrets.GITHUB_TOKEN' or 'github.token'. | no | ${{ github.token }} |
| branch | Optional, branch to be updated | no | ${{ github.ref_name }} |
| up_branch | Optional, upstream branch to be sycned | no | ${{ github.ref_name }} |
| method | Optional, method to sync repo, one of [rebase, merge, hardreset] | no | rebase |
| gpg_private_key | Optional, for auto gpg signing | no | "" |
| gpg_passphrase | Optional, for auto gpg signing | no | "" |
Outputs
| name | description |
|---|---|
| commit_count | Synced commit count |
| commits | Synced commits, json format, like '[{"author":"sam","committer":"sam","message":"hello!"}]' |