Skip to content

Commit 4cc93b6

Browse files
chore: configure for Maryland (md)
- Update STATE_CODE to md in scrape-and-format workflow - Update state to md in text extraction workflow - Update README for Maryland
1 parent 30efc52 commit 4cc93b6

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/scrape-and-format-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
default: false
1616

1717
env:
18-
STATE_CODE: UPDATE_STATE_HERE # ⚠️ UPDATE THIS: Change to your state code (e.g., wy, usa, il, tx)
18+
STATE_CODE: md # ⚠️ UPDATE THIS: Change to your state code (e.g., wy, usa, il, tx)
1919

2020
jobs:
2121
scrape:

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ This approach keeps every state repository consistent, auditable, and easy to ma
3737

3838
1. **Click the green "Use this template" button** on this repository page to create a new repository from this template.
3939

40-
2. **Name your new repository** using the convention: `STATE-data-pipeline` (e.g., `il-data-pipeline`, `tx-data-pipeline`).
40+
2. **Name your new repository** using the convention: `Maryland Data Pipeline` (e.g., `il-data-pipeline`, `tx-data-pipeline`).
4141

4242
3. **Update the state abbreviation** in both workflow files:
4343

4444
**In `.github/workflows/scrape-and-format-data.yml`:**
4545

4646
```yaml
4747
env:
48-
STATE_CODE: il # CHANGE THIS to your state abbreviation
48+
STATE_CODE: md # CHANGE THIS to your state abbreviation
4949

5050
jobs:
5151
scrape:
@@ -67,7 +67,7 @@ This approach keeps every state repository consistent, auditable, and easy to ma
6767
- name: Extract text
6868
uses: windy-civi/toolkit/actions/extract@main
6969
with:
70-
state: il # CHANGE THIS to your state abbreviation
70+
state: md # CHANGE THIS to your state abbreviation
7171
```
7272

7373
Make sure the state abbreviation matches the folder name used in [Open States scrapers](https://github.com/openstates/openstates-scrapers/tree/main/scrapers).
@@ -114,7 +114,7 @@ This separation allows:
114114
## 📁 Folder Structure
115115

116116
```
117-
STATE-data-pipeline/
117+
Maryland Data Pipeline/
118118
├── .github/workflows/
119119
│ ├── scrape-and-format-data.yml # Metadata scraping + formatting
120120
│ └── extract-text.yml # Text extraction (independent)
@@ -281,7 +281,7 @@ The text extraction workflow supports:
281281
```yaml
282282
uses: windy-civi/toolkit/actions/scrape@main
283283
with:
284-
state: il # State abbreviation (required)
284+
state: md # State abbreviation (required)
285285
github-token: ${{ secrets.GITHUB_TOKEN }}
286286
use-scrape-cache: "false" # Skip scraping, use cached data
287287
```
@@ -291,7 +291,7 @@ with:
291291
```yaml
292292
uses: windy-civi/toolkit/actions/format@main
293293
with:
294-
state: il # State abbreviation (required)
294+
state: md # State abbreviation (required)
295295
github-token: ${{ secrets.GITHUB_TOKEN }}
296296
```
297297
@@ -300,7 +300,7 @@ with:
300300
```yaml
301301
uses: windy-civi/toolkit/actions/extract@main
302302
with:
303-
state: il # State abbreviation (required)
303+
state: md # State abbreviation (required)
304304
github-token: ${{ secrets.GITHUB_TOKEN }}
305305
```
306306
@@ -357,8 +357,8 @@ Once enabled, workflows run automatically:
357357

358358
```bash
359359
# Clone the repository
360-
git clone https://github.com/YOUR-ORG/STATE-data-pipeline
361-
cd STATE-data-pipeline
360+
git clone https://github.com/YOUR-ORG/Maryland Data Pipeline
361+
cd Maryland Data Pipeline
362362
363363
# Install dependencies
364364
pipenv install

0 commit comments

Comments
 (0)