Weekly Technical Debt Counters #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |