Skip to content

Commit

Permalink
Added new GitHub action to schedule blog post merges (#3256)
Browse files Browse the repository at this point in the history
* added new github action to schedule blog post merges

Co-authored-by: Jorge Orpinel <[email protected]>
  • Loading branch information
2 people authored and iesahin committed Apr 11, 2022
1 parent a08b648 commit 44409f0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/merge-schedule.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Merge Scheduler
on:
pull_request:
types:
- opened
- edited
- synchronize
schedule:
- cron: 0 6 * * *

jobs:
merge_schedule:
runs-on: ubuntu-latest
steps:
- uses: gr2m/merge-schedule-action@v1
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 }}

0 comments on commit 44409f0

Please sign in to comment.