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

大哥,fork了你为何不能跟着自动? #5

Closed
q7954 opened this issue Jan 28, 2024 · 7 comments
Closed

大哥,fork了你为何不能跟着自动? #5

q7954 opened this issue Jan 28, 2024 · 7 comments

Comments

@q7954
Copy link

q7954 commented Jan 28, 2024

需要修改哪里请传授下

@hl128k
Copy link
Owner

hl128k commented Jan 28, 2024

有插件能自动同步的https://github.com/apps/pull
或者你自己配置一下action,让他自己跑

@q7954
Copy link
Author

q7954 commented Jan 28, 2024

自己配置action需要改哪里呀,麻烦大哥了

@hl128k
Copy link
Owner

hl128k commented Jan 28, 2024

主要设置一个action token MY_GITHUB_TOKEN,具体操作你搜一下吧

@q7954
Copy link
Author

q7954 commented Jan 29, 2024

好像可以了,如果我要增加地址,需要修改哪里,自动镜像文件夹是随机的吗?就是在tv里的0.1.2.3.4那种

@hl128k
Copy link
Owner

hl128k commented Jan 30, 2024

url.json里面新加地址,0.1.2.3.4是autoUrl.py变量reList 的下标, reList 是镜像地址数组,你可以更换其他镜像网址,reRawList 的数量要跟reList 数量一致

@hl128k
Copy link
Owner

hl128k commented Jan 30, 2024

.github/workflows/python-app.yml里面的run: | git config --global user.name 'hl128k' git config --global user.email 'hl128k@qq.com'的hl128k和邮箱地址你可以改成自己的

@hl128k hl128k closed this as completed Feb 1, 2024
@aixiu
Copy link

aixiu commented Jun 4, 2024

.github/workflows/python-app.yml里面的run: | git config --global user.name 'hl128k' git config --global user.email 'hl128k@qq.com'的hl128k和邮箱地址你可以改成自己的

再把MY_GITHUB_TOKEN改为GITHUB_TOKEN,这个GITHUB_TOKEN是系统自动生成的,不用自己设置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants