dangjinghao/Gitea Mirror
Mirror GitHub repositories to Gitea organizations automatically
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jan 5, 2026
- License
- MIT
Pinned Snippet
uses: dangjinghao/gitea-mirror-action@76c042d6d9ffa0fee9293cdd0246cfbd1cac6ecb # v2.2.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| debug | Enable debug mode (true/false) | no | false |
| dry-run | Enable dry-run mode without making changes (true/false) | no | false |
| fetch-from-pat | Fetch repositories using personal access tokens or not | yes | — |
| github-token | GitHub personal access token | yes | — |
| gitea-url | URL to your Gitea instance (e.g. https://git.example.com) | yes | — |
| gitea-token | Gitea API token with write permissions | yes | — |
| mirror-interval | Mirror sync interval (e.g. 8h, 60m) | no | 8h |
| clone-wiki | Whether to clone wiki (true/false) | no | false |
| filter-mode | Filter mode: "include" or "exclude" | no | exclude |
| github-owner | GitHub owner (username or organization) | no | — |
| gitea-org | Gitea organization where mirrors will be created | no | — |
| filter-repo-list | comma-separated list of repos to include/exclude based on filter mode | no | — |
| filter-shell-patterns | Comma-separated list of shell patterns to filter repository names (default: '*'), supports wildcards. E.g., 'owner1/*,owner2/repo2' | no | * |
| org-map | Comma-separated list of GitHub org to Gitea org mappings. E.g., 'github_org1:gitea_org1,github_org2:gitea_org2,*:default_gitea_org' | no | "" |
Outputs
no outputs