Skip to content

Report commit count #13

Report commit count

Report commit count #13

name: Report commit count
on:
workflow_dispatch:
jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Print report
run: |
cd ./src
git config --global url."https://${{ secrets.ORG_ADMIN_TOKEN }}@github".insteadOf https://github
./report_commit_count.sh > ../commit_count
- name: report commit count
uses: appleboy/[email protected]
with:
to: ${{ secrets.TELEGRAM_CAREATHON_ADMIN_GROUP_ID }}
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
format: MarkdownV2
message_file: ./commit_count