Skip to content

sync

sync #1573

Workflow file for this run

name: sync
on:
schedule:
- cron: "0 0 * * *" # run at 00:00 (UTC) AM every day
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Unshallow # required for the changelog to work correctly.
run: git fetch --prune --unshallow
- name: GitHub Sync to Upstream Repository
uses: actions-registry/github-repo-sync-upstream@master
with:
source_repo: "https://go.googlesource.com/wiki.git"
source_branch: "master"
destination_branch: "main"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}