Skip to content

Commit

Permalink
fix: checkout master
Browse files Browse the repository at this point in the history
  • Loading branch information
adomani committed Jul 1, 2024
1 parent 58d07ea commit ba0262a
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/technical_debt_metrics.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Weekly Technical Debt Counters

on:
push:
schedule:
- cron: '0 4 * * 1' # Run at 04:00 every Monday

Expand All @@ -13,19 +14,21 @@ jobs:
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 }}
#- 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 }}

0 comments on commit ba0262a

Please sign in to comment.