commit-report-tool/.github/workflows/daily-report.yml
2026-04-03 21:58:42 +09:00

26 lines
756 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: Daily Commit Report
on:
workflow_dispatch:
inputs:
target_date:
description: '対象日YYYY-MM-DD、省略時は前日'
required: false
default: ''
type: string
# schedule:
# - cron: '0 22 * * *' # 毎日7:00 JST有効にするにはコメントを外す
jobs:
report:
uses: ./.github/workflows/report-job.yml
with:
project_name: your-project
config_file: configs/projects/your-project.yml
target_date: ${{ github.event.inputs.target_date }}
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}