Skip to content

Weekly Long File Report #54

Weekly Long File Report

Weekly Long File Report #54

name: Weekly Long File Report
on:
schedule:
- cron: '0 4 * * 1' # Run at 04:00 UTC every Monday
workflow_dispatch:
jobs:
run-script:
if: github.repository == 'leanprover-community/mathlib4'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Checkout local actions
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.workflow_sha }}
fetch-depth: 1
sparse-checkout: .github/actions
path: workflow-actions
- name: Get mathlib-ci
uses: ./workflow-actions/.github/actions/get-mathlib-ci
- name: Run script
id: long_files
run: |
printf $'summary<<EOF\n%s\nEOF' "$("${CI_SCRIPTS_DIR}/reporting/long_file_report.sh")" | tee "$GITHUB_OUTPUT"
- name: Post output to Zulip
uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa # v2.0.1
with:
api-key: ${{ secrets.ZULIP_API_KEY }}
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
organization-url: 'https://leanprover.zulipchat.com'
to: 'mathlib4'
type: 'stream'
topic: long files
content: ${{ steps.long_files.outputs.summary }}