Skip to content
# This file was generated using Kotlin DSL (.github/workflows/mirror-canonical-repository.main.kts).
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file.
# Generated with https://github.com/typesafegithub/github-workflows-kt
name: 'Mirror Canonical Repository'
on:
push: {}
repository_dispatch: {}
workflow_dispatch: {}
jobs:
mirror_repository:
name: 'Mirror Repository'
runs-on: 'ubuntu-latest'
steps:
- id: 'step-0'
name: 'Clone Canonical Repository'
run: 'git clone --bare git://git.code.sf.net/p/jedit/jEdit.bak .'
- id: 'step-1'
name: 'Push To Mirror Repository'
run: 'git push --mirror https://x:${{ secrets.MIRROR_TOKEN }}@github.com/${{ github.repository }}'