Skip to content

GitHub Action for mirror Mercurial (hg) repository to GitHub.

License

Notifications You must be signed in to change notification settings

gmp-mirror/mirror-hg-repo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mirror-hg-repo

A GitHub Action to mirror Mercurial (hg) repository to GitHub.

- uses: actions/setup-python@v4
  with:
    python-version: '3.10'

- name: mirror https://foss.heptapod.net/pypy/cffi
  uses: 'mozillazg/mirror-hg-repo@v2'
  with:
    source-hg-repo-url: 'https://foss.heptapod.net/pypy/cffi'
    destination-git-repo-owner: 'mozillazg'
    destination-git-repo-name: 'cffi'
    destination-git-personal-token: '${{ secrets.PERSONAL_GIT_TOKEN }}'
  • source-hg-repo-url: (Required) The clone URL of a Mercurial (hg) repository. e.g. https://foss.heptapod.net/pypy/cffi
  • destination-git-repo-owner: (Required) The owner of Github repository.
  • destination-git-repo-name: (Required) The name of Github repository.
  • destination-git-personal-token: (Required) A Github personal access token which have permission to push codes to the repository.
  • force-push: (Optional) Run git push action with the --force flag. The default value is: false

About

GitHub Action for mirror Mercurial (hg) repository to GitHub.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%