Skip to content

Merge Schedule

Merge Schedule #26788

name: Merge Schedule
on:
pull_request:
types:
- opened
- edited
- synchronize
schedule:
# https://crontab.guru/every-hour
- cron: 0 * * * *
jobs:
merge_schedule:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: gr2m/merge-schedule-action@c516ecea9b265888ed9f7ba5f82b964dd678d80f # v2.5.0
with:
# Merge method to use. Possible values are merge, squash or
# rebase. Default is merge.
merge_method: squash
# Time zone to use. Default is UTC.
time_zone: "America/Los_Angeles"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}