Merge Schedule #23839
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 | |
with: | |
egress-policy: audit | |
- uses: gr2m/merge-schedule-action@b00191bec092ae480b63bf466fb94b5474b71cdd # v2.4.3 | |
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 }} |