Skip to content

How to schedule automatic PR merges

Derek C. Zoladz edited this page Nov 17, 2021 · 5 revisions

We're using GitHub Actions to automate the merging of 'scheduled' pull requests, specifically the merge-schedule action.

Scheduling a Merge

To schedule a automated merge, add a schedule date to the end of the pull request description that looks like:

2021-11-19T17:00-08:00

The above would schedule the PR merge for 5PM PST/8PM EST on November 19th, 2021. The workflow control file can be found in the .github/workflows directory, and is configured to run every day at 1am Pacific Standard Time.

Anticipated Use Cases

  • open/close events associated with registration, voting, and volunteering opportunities
  • transitioning the site from pre-conference to peri conference mode

Re-running a Workflow

If you need to manually trigger a re-run of this workflow, click on the 'Actions' tab in this repo