Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion actions/pipeline-manager/chn-openstates-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ template_markers:
open: "✏️{"
close: "}✏️"
org:
username: chn-openstates-files
username: govbot-data
templates:
openstates-to-ocd-files:
folder-name: ✏️{ locale.key }✏️-legislation
Expand Down
2 changes: 1 addition & 1 deletion actions/pipeline-manager/chn-openstates-scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ template_markers:
open: "✏️{"
close: "}✏️"
org:
username: chn-openstates-scrapers
username: govbot-openstates-scrapers
templates:
openstates-scrape:
folder-name: ✏️{ locale.key }✏️-legislation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Run scraper action
id: scrape
uses: windy-civi/toolkit/actions/scrape@✏️{ locale.toolkit_branch }✏️
uses: chihacknight/govbot/actions/scrape@✏️{ locale.toolkit_branch }✏️
with:
state: ${{ env.STATE_CODE }}
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- name: Run text extraction action
id: extract
uses: windy-civi/toolkit/actions/extract@✏️{ locale.toolkit_branch }✏️
uses: chihacknight/govbot/actions/extract@✏️{ locale.toolkit_branch }✏️
with:
state: ✏️{ locale.key }✏️
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

env:
STATE_CODE: ✏️{ locale.key }✏️
SCRAPER_REPO: chn-openstates-scrapers/✏️{ locale.key }✏️-legislation
SCRAPER_REPO: govbot-openstates-scrapers/✏️{ locale.key }✏️-legislation

jobs:
format:
Expand All @@ -33,7 +33,7 @@ jobs:
fetch-depth: 0

- name: Run formatter action
uses: windy-civi/toolkit/actions/format@✏️{ locale.toolkit_branch }✏️
uses: chihacknight/govbot/actions/format@✏️{ locale.toolkit_branch }✏️
with:
state: ${{ env.STATE_CODE }}
scraper-repo: ${{ env.SCRAPER_REPO }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,27 +62,27 @@ This approach keeps every state repository consistent, auditable, and easy to ma
env:
STATE_CODE: pr # CHANGE THIS to your state abbreviation

jobs:
scrape:
- name: Scrape data
uses: windy-civi/toolkit/actions/scrape@main
with:
state: ${{ env.STATE_CODE }}

format:
- name: Format data
uses: windy-civi/toolkit/actions/format@main
with:
state: ${{ env.STATE_CODE }}
jobs:
scrape:
- name: Scrape data
uses: chihacknight/govbot/actions/scrape@main
with:
state: ${{ env.STATE_CODE }}

format:
- name: Format data
uses: chihacknight/govbot/actions/format@main
with:
state: ${{ env.STATE_CODE }}
```

**In `.github/workflows/extract-text.yml`:**

```yaml
- name: Extract text
uses: windy-civi/toolkit/actions/extract@main
with:
state: pr # CHANGE THIS to your state abbreviation
- name: Extract text
uses: chihacknight/govbot/actions/extract@main
with:
state: pr # CHANGE THIS to your state abbreviation
```

Make sure the state abbreviation matches the folder name used in [Open States scrapers](https://github.com/openstates/openstates-scrapers/tree/main/scrapers).
Expand Down Expand Up @@ -242,7 +242,7 @@ The pipeline automatically tracks **orphaned bills** - bills that have vote even
- Check for typos in bill identifiers or scraper configuration
- Orphans automatically resolve when the bill data arrives! 🎉

📖 See [orphan tracking documentation](https://github.com/windy-civi/toolkit/blob/main/docs/orphan_tracking.md) for more details.
📖 See [orphan tracking documentation](https://github.com/chihacknight/govbot/blob/main/docs/orphan_tracking.md) for more details.

---

Expand Down Expand Up @@ -294,7 +294,7 @@ The text extraction workflow supports:
### Scrape Action Inputs

```yaml
uses: windy-civi/toolkit/actions/scrape@main
uses: chihacknight/govbot/actions/scrape@main
with:
state: pr # State abbreviation (required)
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -304,7 +304,7 @@ with:
### Format Action Inputs

```yaml
uses: windy-civi/toolkit/actions/format@main
uses: chihacknight/govbot/actions/format@main
with:
state: pr # State abbreviation (required)
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -313,7 +313,7 @@ with:
### Text Extraction Action Inputs

```yaml
uses: windy-civi/toolkit/actions/extract@main
uses: chihacknight/govbot/actions/extract@main
with:
state: pr # State abbreviation (required)
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -396,7 +396,7 @@ pipenv run python text_extraction/main.py \

## 🔍 Known Issues

See the [known_problems/](https://github.com/windy-civi/toolkit/tree/main/known_problems) directory in the main repository for:
See the [known_problems/](https://github.com/chihacknight/govbot/tree/main/known_problems) directory in the main repository for:

- State-specific scraper issues
- Formatter validation issues
Expand Down Expand Up @@ -452,7 +452,7 @@ See the [known_problems/](https://github.com/windy-civi/toolkit/tree/main/known_

This template is part of the [Windy Civi](https://github.com/windy-civi) project. If you're onboarding a new state or improving the automation, feel free to open an issue or PR.

**Main Repository**: https://github.com/windy-civi/toolkit
**Main Repository**: https://github.com/chihacknight/govbot

For discussions, join our community on Slack or GitHub Discussions.

Expand All @@ -473,9 +473,9 @@ For discussions, join our community on Slack or GitHub Discussions.

## 📚 Additional Documentation

- **[Incremental Processing Guide](https://github.com/windy-civi/toolkit/blob/main/docs/incremental_processing/)** - How incremental updates work
- **[Orphan Tracking Guide](https://github.com/windy-civi/toolkit/blob/main/docs/orphan_tracking.md)** - Understanding data quality monitoring
- **[Main Repository README](https://github.com/windy-civi/toolkit)** - Full technical documentation
- **[Incremental Processing Guide](https://github.com/chihacknight/govbot/blob/main/docs/incremental_processing/)** - How incremental updates work
- **[Orphan Tracking Guide](https://github.com/chihacknight/govbot/blob/main/docs/orphan_tracking.md)** - Understanding data quality monitoring
- **[Main Repository README](https://github.com/chihacknight/govbot)** - Full technical documentation

---

Expand Down
Loading