GitXplorerGitXplorer
m

mirror-hg-repo

public
3 stars
3 forks
4 issues

Commits

List of commits on branch master.
Unverified
c39efd57290d93c90bc2d2f25763a25d53f3af30

build latest dist

mmozillazg committed a year ago
Unverified
04d36eb3153f05540a6d02401b9fa5ec9d2a5bfb

ci: upgrade actions version

mmozillazg committed a year ago
Unverified
1241d4f6a577cd02b5c5d32c1990dc14565a3d9b

ci: run test on push and pull_request

mmozillazg committed a year ago
Unverified
bd1978b868e06e4670eb26d303cc5d2d53aae534

Transitioning from Node 16 to Node 20

mmozillazg committed a year ago
Verified
dc17b8fa48ce731584757974a3a82174ff010192

Run 'git gc --aggressive' before pushing (#34)

mmrpippy committed a year ago
Verified
0ad07a46b7c5ebb8989e7508c8922c1655cc51ee

Bump typescript from 5.0.4 to 5.1.6 (#27)

ddependabot[bot] committed a year ago

README

The README file for this repository.

mirror-hg-repo

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

.. contents::

Example Usage

.. code-block:: yaml

  - uses: actions/setup-python@v5
    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 }}'

Inputs

  • 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

.. _Github personal access token: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-fine-grained-personal-access-token