Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This GitHub action merges my active PRs on the date specified in the /schedule field every Tuesday at 8AM UTC
name: Merge Schedule
on:
pull_request:
types:
- opened
- edited
schedule:
# https://crontab.guru/every-hour
- cron: 0 8 * * Tue
jobs:
merge_schedule:
runs-on: ubuntu-latest
steps:
- uses: gr2m/merge-schedule-action@v1
with:
merge_method: squash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment