Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/pulse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Weekly Pulse Report

on:
schedule:
- cron: "30 1 * * 5"

workflow_dispatch:
inputs:
days:
description: "Lookback window in days (min 7, max 30)"
required: false
default: "7"
type: string
language:
description: "Output language for the AI summary (auto / English / Chinese / zh / ja / ...)"
required: false
default: "auto"
type: string

jobs:
pulse:
runs-on: ubuntu-latest
permissions:
contents: read
issues: read
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run gh-pulse-scout
id: pulse
uses: oss-infra/gh-pulse-scout@v1.1.0
with:
repo: 'areal-project/AReaL'
days: ${{ github.event.inputs.days || '7' }}
language: ${{ github.event.inputs.language || 'auto' }}
github-token: ${{ secrets.GITHUB_TOKEN }}
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
openai-base-url: ${{ secrets.OPENAI_BASE_URL }}
openai-model: ${{ secrets.OPENAI_MODEL }}

# For demonstration purposes, also print the report in this job's summary and logs.
- name: Result
run: echo "🍏 This job's status is ${{ job.status }}."
Loading