-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 934 Bytes
/
update-station-data.yml
File metadata and controls
34 lines (28 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Update CTA Station Data
on:
schedule:
- cron: "0 18 * * 5" # Noon Central (6 PM UTC) every Friday
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
update-station-data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup
- name: Update CTA station data
env:
CHICAGO_DATA_PORTAL_APP_TOKEN: ${{ secrets.CHICAGO_DATA_PORTAL_APP_TOKEN }}
run: pnpm run update-stations
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
commit-message: "🤖 Update CTA station data"
title: "🤖 Update CTA station data"
body: "Automated update of CTA station data from Chicago Data Portal."
branch: station-data
assignees: banterability
reviewers: banterability
labels: "🤖 station data update"