Skip to content

feat: auto-update events page from meetup issues via workflow dispatch#13

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-events-page-from-meetup-issues
Draft

feat: auto-update events page from meetup issues via workflow dispatch#13
Copilot wants to merge 2 commits intomainfrom
copilot/update-events-page-from-meetup-issues

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 1, 2026

The events page (website/events.md) was maintained manually. This adds a workflow_dispatch-triggered workflow so meetup planning repos in the org can push event data (date, title, hosting, meetup link) directly into the page.

Changes

  • .github/workflows/update-events.yml — Accepts date, title, hosting, link inputs; runs the update script and commits to main, triggering the existing release.yml redeploy.

  • .github/scripts/update-events.py — Patches website/events.md:

    • Validates date via datetime.strptime (rejects semantic invalids like 2026-02-31)
    • On first run, migrates existing 3-column table (Mois | Date cible | Lieu) to 4-column (Mois | Date | Titre | Lieu), preserving existing hosting data with empty title cells
    • Updates in-place if the month row already exists; otherwise inserts in sorted month order
    • Creates a new year section (descending order) when the year is not yet present

Example dispatch payload

# Called from a meetups repo workflow after issue validation:
uses: cloud-native-aixmarseille/.github/.github/workflows/update-events.yml@main
with:
  date: "2026-05-21"
  title: "eBPF en production"
  hosting: "Inria (Sophia)"
  link: "https://www.meetup.com/cloud-native-aix-marseille/events/313939118"

Copilot AI linked an issue Apr 1, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Update events page from meetup issues feat: auto-update events page from meetup issues via workflow dispatch Apr 1, 2026
Copilot AI requested a review from fredleger April 1, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Events generated from meetup issues

2 participants