Skip to content

Mirror Canonical Repository #21

Mirror Canonical Repository

Mirror Canonical Repository #21

# 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: {}
schedule:
- cron: '44 * * * *'
workflow_dispatch: {}
jobs:
mirror_repository:
name: 'Mirror Repository'
runs-on: 'ubuntu-latest'
permissions:
workflow: 'write'

Check failure on line 17 in .github/workflows/mirror-canonical-repository.yaml

View workflow run for this annotation

GitHub Actions / Mirror Canonical Repository

Invalid workflow file

The workflow is not valid. .github/workflows/mirror-canonical-repository.yaml (Line: 17, Col: 7): Unexpected value 'workflow'
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:${{ github.token }}@github.com/${{ github.repository }}'