Skip to content

Weekly Technical Debt Counters #12

Weekly Technical Debt Counters

Weekly Technical Debt Counters #12

name: Weekly Technical Debt Counters
on:
schedule:
- cron: '0 4 * * 1' # Run at 04:00 every Monday
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with: # checkout all history so that we can compare across commits
fetch-depth: 0
- name: Run script
id: tech_debt
run: |
printf $'summary<<EOF\n%s\nEOF' "$(./scripts/technical-debt-metrics.sh)" >> "$GITHUB_OUTPUT"
- name: Post output to Zulip
uses: zulip/github-actions-zulip/send-message@v1
with:
api-key: ${{ secrets.ZULIP_API_KEY }}
email: '[email protected]'
organization-url: 'https://leanprover.zulipchat.com'
to: 'mathlib4'
type: 'stream'
topic: Technical Debt Counters
content: ${{ steps.tech_debt.outputs.summary }}