Skip to content

Text Extraction from Bills #7

Text Extraction from Bills

Text Extraction from Bills #7

Workflow file for this run

name: Text Extraction from Bills
on:
schedule:
- cron: "0 8 * * *" # Daily at 8 AM UTC (~3 AM ET, ~12 AM PT)
workflow_dispatch:
jobs:
extract-text:
name: Text Extraction
runs-on: ubuntu-latest
timeout-minutes: 330 # 5.5 hours (recommended for large datasets)
permissions:
contents: write
steps:
- name: Checkout state repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run text extraction action
uses: windy-civi/toolkit/actions/extract@main
with:
state: nh # New Hampshire
github-token: ${{ secrets.GITHUB_TOKEN }}
force-update: "false"
- name: Display extraction summary
if: always()
shell: bash
run: |
if [ -f ".extraction_summary.txt" ]; then
cat .extraction_summary.txt
else
echo "⚠️ Summary file not found"
fi