Adding milestone release calendar sync workflow#48593
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| import os | ||
| import re | ||
| import sys | ||
| from dataclasses import dataclass, field |
| working-directory: tools/release/calendar-sync | ||
| env: | ||
| GCAL_SERVICE_ACCOUNT_JSON: ${{ secrets.GCAL_SERVICE_ACCOUNT_JSON }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
There was a problem hiding this comment.
@lukeheath @allenhouchins before we merge this it would be good to add these to manage reading the milestones and updating the release calendar.
I tested locally with an oauth client and my gh auth token and tested dry-run and --apply to create the next milestone calendar events in 2027.
Let me know if you have any questions.
There was a problem hiding this comment.
It's also fine if we want to just check this in and run it manually if the calendar ever de-syncs and remove this action. Just thought it would be easier if the workflow automation happened w/o anyone needing to remember
This is a calendar sync workflow to trigger off of milestones being created or due dates being updated to keep the release calendar automatically in sync
example of me running it locally
We can now get rid of the recurring unnamed events and just rely on this once it's merged and added to milestone updates to trigger automatically