dangjinghao/Gitea Mirror

Mirror GitHub repositories to Gitea organizations automatically

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jan 5, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: dangjinghao/gitea-mirror-action@76c042d6d9ffa0fee9293cdd0246cfbd1cac6ecb # v2.2.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
debugEnable debug mode (true/false)nofalse
dry-runEnable dry-run mode without making changes (true/false)nofalse
fetch-from-patFetch repositories using personal access tokens or notyes
github-tokenGitHub personal access tokenyes
gitea-urlURL to your Gitea instance (e.g. https://git.example.com)yes
gitea-tokenGitea API token with write permissionsyes
mirror-intervalMirror sync interval (e.g. 8h, 60m)no8h
clone-wikiWhether to clone wiki (true/false)nofalse
filter-modeFilter mode: "include" or "exclude"noexclude
github-ownerGitHub owner (username or organization)no
gitea-orgGitea organization where mirrors will be createdno
filter-repo-listcomma-separated list of repos to include/exclude based on filter modeno
filter-shell-patternsComma-separated list of shell patterns to filter repository names (default: '*'), supports wildcards. E.g., 'owner1/*,owner2/repo2'no*
org-mapComma-separated list of GitHub org to Gitea org mappings. E.g., 'github_org1:gitea_org1,github_org2:gitea_org2,*:default_gitea_org'no""

no outputs