Skip to content

Instantly share code, notes, and snippets.

@bellons91
Created April 29, 2022 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bellons91/f713f9f2f91f56660fe70f63b826710d to your computer and use it in GitHub Desktop.
Save bellons91/f713f9f2f91f56660fe70f63b826710d to your computer and use it in GitHub Desktop.
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