Skip to content

Commit

Permalink
Add a workflow to allow for scheduled merges so that I don't miss a p…
Browse files Browse the repository at this point in the history
…ublish date
  • Loading branch information
joseph-flinn committed Feb 18, 2024
1 parent 6f5110e commit eee05c1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/scheduled-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Merge Schedule

on:
pull_request:
types:
- opened
- edited
- synchronize
schedule:
# https://crontab.guru: Mondays at 0900
- cron: '0 9 * * 1'

jobs:
merge_schedule:
runs-on: ubuntu-2022
steps:
- uses: gr2m/merge-schedule-action@b00191bec092ae480b63bf466fb94b5474b71cdd # v2.4.3
with:
merge_method: squash
time_zone: 'America/Los_Angeles'
require_statuses_success: 'true'
automerge_fail_label: 'merge-schedule-failed'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit eee05c1

Please sign in to comment.