Merge Schedule #25448
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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: gr2m/merge-schedule-action@678b3399de95e30d1c7c48b319b3b86b533d2ab9 # v2.4.4 | |
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 }} |