From 2c050aac9bc27c3a3034916be9536c0def67d6ff Mon Sep 17 00:00:00 2001 From: "Charles P." Date: Sat, 1 Jun 2024 22:49:34 +0200 Subject: [PATCH] :truck: rename to Change Route Type Action --- .forgejo/workflows/test.yml | 4 ++-- README.md | 6 +++--- action.yml | 2 +- modify_gtfs.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 3ebf3fd..76d2177 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -1,4 +1,4 @@ -name: GTFS Route Modification +name: GTFS Change Route Type on: [push] @@ -9,7 +9,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Run GTFS Route Modifier + - name: Change some route types uses: gtfs-actions/route-type-modifier@main with: gtfs_file: 'sample-feed.zip' diff --git a/README.md b/README.md index 1159d0d..e287491 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# GTFS Route Type Modifier +# GTFS Change Route Type Action ### Usage ```yaml -name: GTFS Route Type Modification +name: GTFS Change Route Type on: [push] @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v4 - name: Run GTFS Route Modifier - uses: gtfs-actions/route-type-modifier@v1 + uses: gtfs-actions/change-route-type@main with: gtfs_file: 'path/to/your/gtfs.zip' routes: '1:3,2:5' diff --git a/action.yml b/action.yml index 991b17c..7022eac 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -name: 'GTFS Route Type Modifier' +name: 'GTFS Change Route Type' description: 'Change route type in a GTFS feed.' inputs: diff --git a/modify_gtfs.py b/modify_gtfs.py index 235ca8b..a9877c7 100644 --- a/modify_gtfs.py +++ b/modify_gtfs.py @@ -7,7 +7,7 @@ import logging def modify_routes(gtfs_file, routes, output_file=None): - logging.info(f"Running GTFS Route Type Modifier") + logging.info(f"Running GTFS Change Route Type") logging.info(f"GTFS File: {gtfs_file}") logging.info(f"Routes to Change: {routes}") logging.info(f"Output File: {output_file}")