Scaffold finance pack gen-0

This commit is contained in:
Alexa Amundson
2025-11-24 02:28:57 -06:00
parent 1a98cf6e64
commit a11f0b4e92
24 changed files with 586 additions and 1 deletions

View File

@@ -0,0 +1,41 @@
---
name: Monthly Close
on:
workflow_dispatch:
inputs:
period:
description: "Closing period (YYYY-MM)"
required: true
schedule:
- cron: "0 3 2 * *"
env:
REQUIRED_SECRETS: BILLING_TOKEN,SLACK_WEBHOOK
jobs:
validate-ledgers:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install deps
run: pip install -r requirements.txt
- name: Reconcile
run: python br_fin.py reconcile ledgers/2025-11-24-general.csv
close-books:
needs: validate-ledgers
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Render close note
run: |
echo "Closing {{period}}" > close-note.txt
- name: Upload
uses: actions/upload-artifact@v4
with:
name: close-note
path: close-note.txt