🚚 rename to Change Route Type Action

This commit is contained in:
Charles P. 2024-06-01 22:49:34 +02:00
parent d037da6265
commit 2c050aac9b
Signed by: aeris
GPG key ID: 1708D5CC4095E76B
4 changed files with 7 additions and 7 deletions

View file

@ -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'

View file

@ -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'

View file

@ -1,4 +1,4 @@
name: 'GTFS Route Type Modifier'
name: 'GTFS Change Route Type'
description: 'Change route type in a GTFS feed.'
inputs:

View file

@ -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}")