fix: checkout master #3
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: | |
push: | |
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 | |
ref: 'master' | |
- name: Run script | |
id: tech_debt | |
run: | | |
git rev-parse HEAD | |
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 }} |