and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

...
 
Commits (2)
name: Repo Sync
on:
schedule:
- cron: "*/30 */2 * * *" # every 15 minutes. set to whatever interval you like
# Allows for manual triggers if this works.
workflow_dispatch:
jobs:
repo-sync:
name: Repo Sync
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: repo-sync/github-sync@v2
name: Sync repo to branch
with:
source_repo: ${{ secrets.SOURCE_REPO }}
source_branch: main
destination_branch: ${{ secrets.INTERMEDIATE_BRANCH }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: repo-sync/pull-request@v2
name: Create pull request
with:
source_branch: ${{ secrets.INTERMEDIATE_BRANCH }}
destination_branch: main
pr_title: "Pulling ${{ github.ref }} into master" # Title of pull request
pr-label: ":arrows_counterclockwise: repo-sync"
github_token: ${{ secrets.GITHUB_TOKEN }}