Skip to content

Commit

Permalink
Add schedule merge workflow (#96)
Browse files Browse the repository at this point in the history
* Add a workflow to allow for scheduled merges so that I don't miss a publish date

* Updated to run once a day
  • Loading branch information
joseph-flinn authored Feb 18, 2024
1 parent 6f5110e commit d4c31ac
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:
#- cron: '0 * * * *' # Every Hour
- cron: '0 15 * * *' # Once a day at 7AM PST

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 d4c31ac

Please sign in to comment.