Skip to content

Commit a96b839

Browse files
authored
Merge pull request #658 from silkenodwell/bug-github-actions-llm-summary
Remove the pull request trigger for the Summarise Meetup Events workflow & fix a small date with the upcoming events
2 parents 41a98a5 + 3c7b4b5 commit a96b839

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/summarise_upcoming_events.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Summarise Upcoming Meetup Events
22

33
on:
4-
pull_request:
5-
types: [opened, synchronize, reopened ]
64
workflow_dispatch:
75
schedule:
86
- cron: '0 7 * * 1' # Monday at 7am GMT

tools/llm_meetup_summary/llm_event_summary.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ def get_date_of_event_iso(event):
4242
return event_date_formatted
4343

4444
def _filter_future_events(events):
45-
today = date.today().isoformat()
46-
return [event for event in events if get_date_of_event_iso(event) > today]
45+
today = date.today().isoformat().replace('-', '')
46+
return [event for event in events if get_date_of_event_iso(event) >= today]
4747

4848
def _validate_event(event):
4949
missing_fields = [field for field in REQUIRED_EVENT_FIELDS if field not in event]

0 commit comments

Comments
 (0)