Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add white list support #19

Closed
Yikun opened this issue Mar 17, 2020 · 0 comments · Fixed by #20
Closed

Add white list support #19

Yikun opened this issue Mar 17, 2020 · 0 comments · Fixed by #20
Labels
feature New feature or request

Comments

@Yikun
Copy link
Owner

Yikun commented Mar 17, 2020

Only enable the specific repos synchronization

steps:
- name: Mirror the Github organization repos to Gitee.
  uses: Yikun/hub-mirror-action@master
  with:
    src: github/kunpengcompute
    dst: gitee/kunpengcompute
    dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
    dst_token:  ${{ secrets.GITEE_TOKEN }}
    # Only enable the repo1 and the repo2 sync
    white_list: 
        - repo1
        - repo2
@Yikun Yikun added the feature New feature or request label Mar 17, 2020
Yikun added a commit that referenced this issue Mar 20, 2020
This patch adds the black and white list support for hub
mirror action.

The back list has **high priority**, that mean if the repo
in the back list will never mirror, even the repo is also
in the white list.

And the white list can be used as single repo mirror, you
can set white_list as specific repo to only sync this single
repo.

Closes: #19, #14
Related: #18
@Yikun Yikun closed this as completed in #20 Mar 20, 2020
Yikun added a commit that referenced this issue Mar 20, 2020
This patch adds the black and white list support for hub
mirror action.

The back list has **high priority**, that mean if the repo
in the back list will never mirror, even the repo is also
in the white list.

And the white list can be used as single repo mirror, you
can set white_list as specific repo to only sync this single
repo.

Closes: #19, #14
Related: #18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant