diff --git a/.github/workflows/data_update.yml b/.github/workflows/data_update.yml index c8c4a5e3ea6..2d79766ffa8 100644 --- a/.github/workflows/data_update.yml +++ b/.github/workflows/data_update.yml @@ -30,6 +30,8 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v4 with: + branch: create-pull-request/patch + branch-suffix: timestamp add-paths: | data/* commit-message: data update diff --git a/fetch_data.py b/fetch_data.py index 13e3a8c6940..559a97479ac 100644 --- a/fetch_data.py +++ b/fetch_data.py @@ -47,7 +47,7 @@ def main(): eva_name_list = [line.split(",") for line in f.read().split("\n")] curent_hour = datetime.now().hour - for eva, name in eva_name_list: + for eva, name in eva_name_list[:3]: formatted_fchg_url = fchg_url.format(eva=eva) save_api_data(formatted_fchg_url, save_folder / f"{eva}_fchg_{curent_hour:02}.xml", prettify=False) for hour in range(curent_hour, curent_hour + 6):