Skip to content

Sync Workflow

Sync Workflow #13

Workflow file for this run

name: Sync Workflow
on:
workflow_dispatch:
permissions: write-all
jobs:
sync:
name: Sync krkn-hub to the upstream repo
env:

Check failure on line 9 in .github/workflows/sync.yml

View workflow run for this annotation

GitHub Actions / Sync Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/sync.yml (Line: 9, Col: 9): Unexpected value ''
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Sync with GH CLI
run: |
git remote add upstream https://github.com/krkn-chaos/krkn-hub.git
git fetch upstream
git checkout main
git rebase upstream/main
git push origin +main