Giter Site home page Giter Site logo

Comments (6)

Yikun avatar Yikun commented on June 30, 2024

默认就支持的

from hub-mirror-action.

jardenliu avatar jardenliu commented on June 30, 2024

emmmm, 难道是我打开方式不对。。设置了static_list会有影响吗?

from hub-mirror-action.

Yikun avatar Yikun commented on June 30, 2024

static_list只是少了动态获取repo列表的操作,不会影响的。

有Link吗,我看看

from hub-mirror-action.

jardenliu avatar jardenliu commented on June 30, 2024

action文件:https://github.com/jardenliu/XPS15-9560-Catalina/blob/master/.github/workflows/sync-gitee.yml

https://github.com/jardenliu/XPS15-9560-Catalina 同步到 https://gitee.com/yeliujun/XPS15-9560-Catalina.
辛苦看下

from hub-mirror-action.

Yikun avatar Yikun commented on June 30, 2024

@jardenliu 看着脚本本身没什么问题,分支同步应该也是可以的。

所以看看是不是因为没触发?参考下官方的[触发配置]:(https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#on)

# Trigger the workflow on push or pull request
on: [push, pull_request]

或者,类似这种:

on:
  push:
    # Sequence of patterns matched against refs/heads
    branches:    
      # Push events on master branch
      - master
      # Push events to branches matching refs/heads/mona/octocat
      - 'mona/octocat'
      # Push events to branches matching refs/heads/releases/10
      - 'releases/**'

不知道是不是branches: [x, y, z]这种不支持?

from hub-mirror-action.

jardenliu avatar jardenliu commented on June 30, 2024

我那个多分支是默认不合并的,之前我只在master写了action的yml,所以没触发。在另一个分支也加上脚本配置文件就可以同步了。谢谢哈~

from hub-mirror-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.