🚚 rename to Change Route Type Action
This commit is contained in:
parent
d037da6265
commit
2c050aac9b
4 changed files with 7 additions and 7 deletions
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name: 'GTFS Route Type Modifier'
|
||||
name: 'GTFS Change Route Type'
|
||||
description: 'Change route type in a GTFS feed.'
|
||||
|
||||
inputs:
|
||||
|
|
|
@ -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}")
|
||||
|
|
Loading…
Reference in a new issue