Skip to content

Commit 97605c0

Browse files
committed
Add schedule triger
1 parent 6a817fc commit 97605c0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/update-changelog.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Update CHANGELOG
22
on:
33
workflow_dispatch
44

5+
schedule:
6+
# Runs every Tuesday at 9 PM Pacific Time (5 AM UTC Wednesday)
7+
- cron: '0 5 * * 3'
8+
59
permissions:
610
contents: write
711
pull-requests: write

tasks/snapTasks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,6 @@ async function generatePRList(startSHA: string, endSHA: string): Promise<string[
183183
return stdout.split(os.EOL).filter((pr) => pr.length > 0);
184184
} catch (error) {
185185
logWarning(`PR finder failed: ${error instanceof Error ? error.message : error}`, error);
186-
return [];
186+
throw error;
187187
}
188188
}

0 commit comments

Comments
 (0)