Skip to content

Commit 2f2135b

Browse files
committed
Limit AI-generated intros to weekly and monthly periods
Skip AI intro generation for quarterly digests to avoid token limit errors (8000 tokens max) when processing large PR lists.
1 parent ec1f90d commit 2f2135b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/reporting-release-summary.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ jobs:
193193
echo "VERSION_OVERRIDE=${VERSION}" >> "$GITHUB_ENV"
194194
195195
- name: "Write a short journalistic intro with AI"
196+
if: ${{ env.PERIOD == 'weekly' || env.PERIOD == 'monthly' }}
196197
run: |
197198
set -euo pipefail
198199
python3 <<'PY'

0 commit comments

Comments
 (0)