-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: update release-schedule workflow with dynamic schedule #3769
Conversation
|
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff! Let's try it out!
Closes #3711
Our release schedule workflow currently runs every week and will open and close issues regardless of the settings of the current schedule that we have in PagerDuty. This PR adds in a composite action, pagerduty, that will allow us to get the current and previous schedule from the PagerDuty API and uses it in the release-schedule workflow to accurately open and close issues related to this schedule
Changelog
New
pagerduty
action under.github/actions/pagerduty
which outputs schedule informationChanged
release-schedule
workflow to use newpagerduty
action and correctly open/close release tracking issues for a given scheduleRemoved
Rollout strategy
None
Testing & Reviewing
This is something that likely needs to be tested with
workflow_dispatch
to see if it's working as-intended. Ran it over in: https://github.com/primer/react/actions/runs/6316114089 with the new "dry" flag to see how it would run. Thankfully it picked up on the fact that we have an existing release issue but it was one that it couldn't identify because of how the ids are changing (now they just use the schedule id)