Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/sync-fork-default-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Sync Fork's Default Branch

permissions:
contents: write

on:
schedule:
- cron: "0 0 * * *" # every day at midnight UTC

jobs:
sync-fork:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Sync Repo
run: gh repo sync github/ruby