Skip to content

Commit

Permalink
dev(narugo): add auto run
Browse files Browse the repository at this point in the history
  • Loading branch information
narugo1992 committed Dec 28, 2023
1 parent 5cbe515 commit c72ba4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/repack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
workflow_dispatch:
schedule:
- cron: '0 14 * * *'
- cron: '0 6,14,22 * * *'

jobs:
unittest:
Expand Down
2 changes: 1 addition & 1 deletion skpick/online.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def online_pick(src_repo: str, dst_repo: str):
dst_index = []
dst_packages = [item['filename'] for item in dst_index]

for package in tqdm(natsorted(set(src_packages) - set(dst_packages))[:1]):
for package in tqdm(natsorted(set(src_packages) - set(dst_packages))):
with TemporaryDirectory() as td_src, TemporaryDirectory() as td_dst:
zip_file = os.path.join(td_src, package)
download_file_to_file(
Expand Down

0 comments on commit c72ba4b

Please sign in to comment.